diff --git a/public/pages/Alerts/containers/Alerts/Alerts.tsx b/public/pages/Alerts/containers/Alerts/Alerts.tsx index d352c367f..b2b9925d1 100644 --- a/public/pages/Alerts/containers/Alerts/Alerts.tsx +++ b/public/pages/Alerts/containers/Alerts/Alerts.tsx @@ -304,6 +304,7 @@ class Alerts extends Component { if (alertsRes.ok) { const detectorAlerts = alertsRes.response.alerts.map((alert) => { const detector = detectors[id]; + if (!alert.detector_id) alert.detector_id = id; return { ...alert, detectorName: detector.name }; }); alerts = alerts.concat(detectorAlerts);