From 86039b1dd2b553a980dfdde891c0b02190ff457c Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 15 Mar 2024 22:35:59 +0100 Subject: [PATCH] fix(views): make gantt view load tasks again --- frontend/src/views/project/helpers/useGanttTaskList.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/project/helpers/useGanttTaskList.ts b/frontend/src/views/project/helpers/useGanttTaskList.ts index 8349b3c7c..506f24546 100644 --- a/frontend/src/views/project/helpers/useGanttTaskList.ts +++ b/frontend/src/views/project/helpers/useGanttTaskList.ts @@ -33,7 +33,7 @@ export function useGanttTaskList( params.filter_timezone = authStore.settings.timezone } - const tasks = await taskCollectionService.getAll({projectId: filters.value.projectId}, params, page) as ITask[] + const tasks = await taskCollectionService.getAll({projectId: filters.value.projectId, viewId: view.id}, params, page) as ITask[] if (loadAll && page < taskCollectionService.totalPages) { const nextTasks = await fetchTasks(params, page + 1) return tasks.concat(nextTasks)