2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-06-24 04:20:34 +03:00

small fix

This commit is contained in:
2021-11-09 09:45:21 +03:00
parent 1f7f713d81
commit fdb2d3a451
3 changed files with 21 additions and 14 deletions
+7
View File
@@ -392,6 +392,13 @@ export default {
// return true // return true
// } // }
if (
!this.chartProps.pushOnOverlap ||
this.barConfig.pushOnOverlap === false
) {
return false
}
const isSqueezeToLeft = const isSqueezeToLeft =
newXStart && newXStart &&
moment(this.localBar[this.barStartKey]).isBefore( moment(this.localBar[this.barStartKey]).isBefore(
+11 -11
View File
@@ -1,19 +1,19 @@
{ {
"name": "@tenrok/vue-ganttastic", "name": "@tenrok/vue-ganttastic",
"version": "0.10.17", "version": "0.10.18",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@tenrok/vue-ganttastic", "name": "@tenrok/vue-ganttastic",
"version": "0.10.17", "version": "0.10.18",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"vue": "^2.6.12" "vue": "^2.6.12"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.5.15", "@vue/cli-plugin-babel": "~4.5.15",
"@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.15",
"@vue/cli-service": "~4.5.15", "@vue/cli-service": "~4.5.15",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"eslint": "^6.7.2", "eslint": "^6.7.2",
@@ -2183,12 +2183,12 @@
} }
}, },
"node_modules/@vue/cli-plugin-eslint": { "node_modules/@vue/cli-plugin-eslint": {
"version": "4.5.14", "version": "4.5.15",
"resolved": "https://registry.npmjs.org/@vue/cli-plugin-eslint/-/cli-plugin-eslint-4.5.14.tgz", "resolved": "https://registry.npmjs.org/@vue/cli-plugin-eslint/-/cli-plugin-eslint-4.5.15.tgz",
"integrity": "sha512-8leK9mZ4Ia4hARWMfVAbcgPBFKjdeOW9S0nG+pt6OBnnwK+V1jf/C7ytfXH+H086KgisU8R9nz1xNaz+9QET0g==", "integrity": "sha512-/2Fl6wY/5bz3HD035oSnFRMsKNxDxU396KqBdpCQdwdvqk4mm6JAbXqihpcBRTNPeTO6w+LwGe6FE56PVbJdbg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@vue/cli-shared-utils": "^4.5.14", "@vue/cli-shared-utils": "^4.5.15",
"eslint-loader": "^2.2.1", "eslint-loader": "^2.2.1",
"globby": "^9.2.0", "globby": "^9.2.0",
"inquirer": "^7.1.0", "inquirer": "^7.1.0",
@@ -18074,12 +18074,12 @@
} }
}, },
"@vue/cli-plugin-eslint": { "@vue/cli-plugin-eslint": {
"version": "4.5.14", "version": "4.5.15",
"resolved": "https://registry.npmjs.org/@vue/cli-plugin-eslint/-/cli-plugin-eslint-4.5.14.tgz", "resolved": "https://registry.npmjs.org/@vue/cli-plugin-eslint/-/cli-plugin-eslint-4.5.15.tgz",
"integrity": "sha512-8leK9mZ4Ia4hARWMfVAbcgPBFKjdeOW9S0nG+pt6OBnnwK+V1jf/C7ytfXH+H086KgisU8R9nz1xNaz+9QET0g==", "integrity": "sha512-/2Fl6wY/5bz3HD035oSnFRMsKNxDxU396KqBdpCQdwdvqk4mm6JAbXqihpcBRTNPeTO6w+LwGe6FE56PVbJdbg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@vue/cli-shared-utils": "^4.5.14", "@vue/cli-shared-utils": "^4.5.15",
"eslint-loader": "^2.2.1", "eslint-loader": "^2.2.1",
"globby": "^9.2.0", "globby": "^9.2.0",
"inquirer": "^7.1.0", "inquirer": "^7.1.0",
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@tenrok/vue-ganttastic", "name": "@tenrok/vue-ganttastic",
"version": "0.10.17", "version": "0.10.18",
"description": "A simple and customizable Gantt chart component for Vue.js", "description": "A simple and customizable Gantt chart component for Vue.js",
"keywords": [ "keywords": [
"gantt", "gantt",
@@ -19,7 +19,7 @@
"author": { "author": {
"name": "Marko Zunic", "name": "Marko Zunic",
"email": "marko.zunic06@gmail.com", "email": "marko.zunic06@gmail.com",
"url": "https://github.com/InfectoOne/vue-ganttastic" "url": "https://github.com/InfectoOne"
}, },
"contributors": [ "contributors": [
{ {
@@ -49,7 +49,7 @@
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.5.15", "@vue/cli-plugin-babel": "~4.5.15",
"@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.15",
"@vue/cli-service": "~4.5.15", "@vue/cli-service": "~4.5.15",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"eslint": "^6.7.2", "eslint": "^6.7.2",