Skip to content

Commit

Permalink
bugfix(admin): load upcoming surveys correctly (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkue authored Nov 21, 2023
1 parent dad1e75 commit cd5b52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/src/views/NextSurveysView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function NextSurveysView() {
where('status', '==', SurveyStatus.Scheduled),
where('status', '==', SurveyStatus.InProgress),
),
where('due_date_at', '<=', toDate(DateTime.now().minus({ days: 14 }))),
where('due_date_at', '<=', toDate(DateTime.now().plus({ days: 14 }))),
),
orderBy('due_date_at', 'desc'),
),
Expand Down

0 comments on commit cd5b52b

Please sign in to comment.