Skip to content

Commit

Permalink
Fixed temporary hack to show current alerts in previous ection too!
Browse files Browse the repository at this point in the history
  • Loading branch information
hortha committed Sep 22, 2023
1 parent 74286b7 commit f211292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public async Task<IActionResult> OnGet()
.ToArray();

PreviousAlerts = allAlerts
.Where(alert => alert.Status == AlertStatus.Active)
.Where(alert => alert.Status != AlertStatus.Active)
.OrderBy(a => a.StartDate)
.ToArray();

Expand Down

0 comments on commit f211292

Please sign in to comment.