1
0

chore(views): use view id instead of passing whole view object

This commit is contained in:
kolaente
2024-03-16 15:00:00 +01:00
parent 7368a51f18
commit 4c1a53beed
8 changed files with 31 additions and 31 deletions

View File

@ -98,7 +98,7 @@ type Options = Flatpickr.Options.Options
const props = defineProps<{
route: RouteLocationNormalized
view: IProjectView
viewId: IProjectView['id']
}>()
const GanttChart = createAsyncComponent(() => import('@/components/tasks/GanttChart.vue'))
@ -115,7 +115,7 @@ const {
isLoading,
addTask,
updateTask,
} = useGanttFilters(route, props.view)
} = useGanttFilters(route, props.viewId)
const DEFAULT_DATE_RANGE_DAYS = 7