From 407f5f2ef8c4759ea46f5fb74717bafb16f606c5 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 1d87e679ed..5cc53fd3da 100644 --- a/src/components/tasks/gantt-chart.vue +++ b/src/components/tasks/gantt-chart.vue @@ -109,7 +109,7 @@ watch( ganttBars.value = [] tasks.value.forEach(t => ganttBars.value.push(transformTaskToGanttBar(t))) }, - {deep: true}, + {deep: true, immediate: true}, ) function transformTaskToGanttBar(t: ITask) {