diff --git a/frontend/src/views/project/helpers/useGanttFilters.ts b/frontend/src/views/project/helpers/useGanttFilters.ts index cbfa78c73..450a35f98 100644 --- a/frontend/src/views/project/helpers/useGanttFilters.ts +++ b/frontend/src/views/project/helpers/useGanttFilters.ts @@ -51,7 +51,10 @@ function ganttRouteToFilters(route: Partial): GanttFilt } function ganttGetDefaultFilters(route: Partial): GanttFilters { - return ganttRouteToFilters({params: {projectId: route.params?.projectId as string}}) + return ganttRouteToFilters({params: { + projectId: route.params?.projectId as string, + viewId: route.params?.viewId as string, + }}) } // FIXME: use zod for this