From 75ea0694ac28f348bf7578ee8a479fdf7aa458a9 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Sun, 4 Nov 2018 22:54:20 -0500 Subject: [PATCH] clear matching alerts --- src/reducers/alerts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reducers/alerts.js b/src/reducers/alerts.js index 7d05dd7c7..13e7d478a 100644 --- a/src/reducers/alerts.js +++ b/src/reducers/alerts.js @@ -24,6 +24,7 @@ const reducer = function (state, action) { const alertId = action.alertId; if (alertId) { const newAlert = { + alertId: alertId, level: AlertLevels.WARN // default level }; const alertData = alertsData.find(thisAlertData => thisAlertData.alertId === alertId);