2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-06-22 05:20:33 +03:00

Update lib/components/GGanttTimeaxis.vue

Co-authored-by: Diego Galeano <diegood@users.noreply.github.com>
This commit is contained in:
2021-11-18 13:13:25 +03:00
committed by GitHub
parent 33abe49a8b
commit 3b93eb336c
+1 -8
View File
@@ -110,14 +110,7 @@ export default {
methods: {
initAxis() {
switch (this.precision) {
case 'day':
this.initAxisDaysAndHours()
break
case 'month':
this.initAxisMonthsAndDays()
break
}
this.precision === 'day'? this.initAxisDaysAndHours() : this.initAxisMonthsAndDays()
},
initAxisMonthsAndDays() {