From 6a723dff37ddc6ec0235cdb5ef30a298c82a1895 Mon Sep 17 00:00:00 2001 From: bergquist Date: Tue, 13 Sep 2016 14:25:48 +0200 Subject: [PATCH] feat(notifications): set default value to false for new notifications --- public/app/features/alerting/alert_tab_ctrl.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/app/features/alerting/alert_tab_ctrl.ts b/public/app/features/alerting/alert_tab_ctrl.ts index b372520507d..8cb0f09ee9c 100644 --- a/public/app/features/alerting/alert_tab_ctrl.ts +++ b/public/app/features/alerting/alert_tab_ctrl.ts @@ -130,7 +130,11 @@ export class AlertTabCtrl { return; } - this.alertNotifications.push({name: model.name, iconClass: this.getNotificationIcon(model.type)}); + this.alertNotifications.push({ + name: model.name, + iconClass: this.getNotificationIcon(model.type), + isDefault: false + }); this.alert.notifications.push({id: model.id}); // reset plus button