Skip to content

Commit

Permalink
(fix) set open by default on alert page
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay288 committed Sep 2, 2022
1 parent 67e876a commit 17f978f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 17f978f

Please sign in to comment.