fix: initial transformation of ganttBars
This commit is contained in:
parent
73eab6c5b5
commit
407f5f2ef8
@ -109,7 +109,7 @@ watch(
|
|||||||
ganttBars.value = []
|
ganttBars.value = []
|
||||||
tasks.value.forEach(t => ganttBars.value.push(transformTaskToGanttBar(t)))
|
tasks.value.forEach(t => ganttBars.value.push(transformTaskToGanttBar(t)))
|
||||||
},
|
},
|
||||||
{deep: true},
|
{deep: true, immediate: true},
|
||||||
)
|
)
|
||||||
|
|
||||||
function transformTaskToGanttBar(t: ITask) {
|
function transformTaskToGanttBar(t: ITask) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user