From 5a39bf5c58f00a6e1a1070c7935773c459240ac1 Mon Sep 17 00:00:00 2001 From: bergquist Date: Wed, 12 Oct 2016 11:27:06 +0200 Subject: [PATCH] fix(alert_tab): dont add dup notifications to repeater closes #6233 --- public/app/features/alerting/alert_tab_ctrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/alerting/alert_tab_ctrl.ts b/public/app/features/alerting/alert_tab_ctrl.ts index 825ade46584..b7e0e4ac218 100644 --- a/public/app/features/alerting/alert_tab_ctrl.ts +++ b/public/app/features/alerting/alert_tab_ctrl.ts @@ -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); }