From e96ea2c652527659697e3e580b07d2578e3b9acb Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Wed, 19 Oct 2022 15:39:03 +0200 Subject: [PATCH] fix: initial transformation of ganttBars --- src/components/tasks/gantt-chart.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tasks/gantt-chart.vue b/src/components/tasks/gantt-chart.vue index 47c82ce89..89d954373 100644 --- a/src/components/tasks/gantt-chart.vue +++ b/src/components/tasks/gantt-chart.vue @@ -111,7 +111,7 @@ watch( ganttBars.value = [] tasks.value.forEach(t => ganttBars.value.push(transformTaskToGanttBar(t))) }, - {deep: true}, + {deep: true, immediate: true}, ) function transformTaskToGanttBar(t: ITask) {