diff --git a/src/components/tasks/gantt-chart.vue b/src/components/tasks/gantt-chart.vue index e6cb66480..6a5640597 100644 --- a/src/components/tasks/gantt-chart.vue +++ b/src/components/tasks/gantt-chart.vue @@ -108,7 +108,7 @@ const ganttChartWidth = computed(() => { const canWrite = computed(() => store.state.currentList.maxRight > Rights.READ) -const tasks = ref([]) +const tasks = ref>([]) const ganttBars = ref([]) const defaultStartDate = format(new Date(), DATE_FORMAT) @@ -142,7 +142,7 @@ function mapGanttBars() { } async function loadTasks() { - tasks.value = new Map() + tasks.value = new Map() const params = { sort_by: ['start_date', 'done', 'id'],