Commit 5a39bf5c by bergquist

fix(alert_tab): dont add dup notifications to repeater

closes #6233
parent 0bae12e4
......@@ -156,7 +156,7 @@ export class AlertTabCtrl {
for (let addedNotification of alert.notifications) {
var model = _.find(this.notifications, {id: addedNotification.id});
if (model) {
if (model && model.isDefault === false) {
model.iconClass = this.getNotificationIcon(model.type);
this.alertNotifications.push(model);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment