clear matching alerts

This commit is contained in:
Ben Wheeler committed 2018-11-08 08:02:29 -05:00
1 parent ebac489166
commit 75ea0694ac
1 file changed
+1
+1
View File
@@ -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);