Skip to content

Commit 6a723df

Browse files
committed
feat(notifications): set default value to false for new notifications
1 parent 1264a1b commit 6a723df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

public/app/features/alerting/alert_tab_ctrl.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ export class AlertTabCtrl {
130130
return;
131131
}
132132

133-
this.alertNotifications.push({name: model.name, iconClass: this.getNotificationIcon(model.type)});
133+
this.alertNotifications.push({
134+
name: model.name,
135+
iconClass: this.getNotificationIcon(model.type),
136+
isDefault: false
137+
});
134138
this.alert.notifications.push({id: model.id});
135139

136140
// reset plus button

0 commit comments

Comments
 (0)