Skip to content

Commit

Permalink
bug fix correlationAlerts
Browse files Browse the repository at this point in the history
  • Loading branch information
riysaxen-amzn committed Jul 1, 2024
1 parent 03c076f commit db5ecc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/pages/Alerts/containers/Alerts/Alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -521,10 +521,10 @@ export class Alerts extends Component<AlertsProps, AlertsState> {
}));
this.setState({ correlationAlerts: enrichedAlerts });
} else {
errorNotificationToast(notifications, 'retrieve', 'correlations', correlationRes.error);
this.setState({ correlationAlerts: [] });
}
} catch (e: any) {
errorNotificationToast(notifications, 'retrieve', 'correlationAlerts', e);
errorNotificationToast(notifications, 'retrieve', 'correlationAlerts', e);
}
this.filterCorrelationAlerts();
this.setState({ loading: false });
Expand Down

0 comments on commit db5ecc3

Please sign in to comment.