From 17f978fc0fee982288b04cddff8a70e645f446fa Mon Sep 17 00:00:00 2001 From: Akshay Shekhawat Date: Fri, 2 Sep 2022 12:03:11 -0700 Subject: [PATCH] (fix) set open by default on alert page --- frontend/src/pages/alerts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/alerts.tsx b/frontend/src/pages/alerts.tsx index 3459734b..2208e70a 100644 --- a/frontend/src/pages/alerts.tsx +++ b/frontend/src/pages/alerts.tsx @@ -98,7 +98,7 @@ export const getServerSideProps: GetServerSideProps = async context => { .split(",") .filter(e => Object.values(RiskScore).includes(e as RiskScore)) .map(e => e as RiskScore), - status: ((context.query.status as string) || "open") + status: ((context.query.status as string) || "Open") .split(",") .filter(e => Object.values(Status).includes(e as Status)) .map(e => e as Status),