fix: mark query parameter as string
This commit is contained in:
parent
4ac7d6b9df
commit
badbae0e9a
1 changed files with 2 additions and 2 deletions
|
@ -252,8 +252,8 @@ const router = createRouter({
|
|||
name: 'tasks.range',
|
||||
component: UpcomingTasksComponent,
|
||||
props: route => ({
|
||||
dateFrom: parseDateOrString(route.query.from, new Date()),
|
||||
dateTo: parseDateOrString(route.query.to, getNextWeekDate()),
|
||||
dateFrom: parseDateOrString(route.query.from as string, new Date()),
|
||||
dateTo: parseDateOrString(route.query.to as string, getNextWeekDate()),
|
||||
showNulls: route.query.showNulls === 'true',
|
||||
showOverdue: route.query.showOverdue === 'true',
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue