Skip to content

Commit

Permalink
Use view.activeStart instead of view.currentStart in calendar layout …
Browse files Browse the repository at this point in the history
…date filter (#9638)
  • Loading branch information
Oreilles committed Nov 9, 2021
1 parent 8ab0656 commit 68a755b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/layouts/calendar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default defineLayout<LayoutOptions>({
_and: [
{
[startDateField.value]: {
_between: [formatISO(calendar.value.view.currentStart), formatISO(calendar.value.view.currentEnd)],
_between: [formatISO(calendar.value.view.activeStart), formatISO(calendar.value.view.activeEnd)],
},
},
],
Expand Down

0 comments on commit 68a755b

Please sign in to comment.