From 293481df970f39f05fad69075d5887949369d2ba Mon Sep 17 00:00:00 2001 From: Sergey Solodyagin Date: Thu, 18 Nov 2021 12:38:02 +0300 Subject: [PATCH] Update lib/components/GGanttGrid.vue Co-authored-by: Diego Galeano --- lib/components/GGanttGrid.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/components/GGanttGrid.vue b/lib/components/GGanttGrid.vue index fae9ac2..0eeace0 100644 --- a/lib/components/GGanttGrid.vue +++ b/lib/components/GGanttGrid.vue @@ -40,9 +40,9 @@ export default { computed: { allChildPoints() { - let start = moment(this.chartStart) - let end = moment(this.chartEnd) - let res = [] + const start = moment(this.chartStart) + const end = moment(this.chartEnd) + const res = [] while (start.isBefore(end)) { switch (this.precision) { case 'day':