Skip to content

Commit

Permalink
fix: sort info alerts as well
Browse files Browse the repository at this point in the history
  • Loading branch information
optionsome committed Jan 31, 2024
1 parent 37fc5cf commit 412b740
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/component/AlertList.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ const AlertList = ({
.filter(alert => alert.alertSeverityLevel !== AlertSeverityLevelType.Info)
.sort(alertCompare),
...validCancelations.sort(alertCompare),
...validAlerts.filter(
alert => alert.alertSeverityLevel === AlertSeverityLevelType.Info,
),
...validAlerts
.filter(alert => alert.alertSeverityLevel === AlertSeverityLevelType.Info)
.sort(alertCompare),
];

return (
Expand Down

0 comments on commit 412b740

Please sign in to comment.