From cd5b52b18c2f9aded75ba928f932054e0d7ddd8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=BCndig?= Date: Tue, 21 Nov 2023 10:01:57 +0100 Subject: [PATCH] bugfix(admin): load upcoming surveys correctly (#643) --- admin/src/views/NextSurveysView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/src/views/NextSurveysView.tsx b/admin/src/views/NextSurveysView.tsx index d6055a718..a7bf65493 100644 --- a/admin/src/views/NextSurveysView.tsx +++ b/admin/src/views/NextSurveysView.tsx @@ -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'), ),