|
@@ -141,7 +141,9 @@ export class AlertTabCtrl {
|
|
|
iconClass: this.getNotificationIcon(model.type),
|
|
iconClass: this.getNotificationIcon(model.type),
|
|
|
isDefault: false,
|
|
isDefault: false,
|
|
|
});
|
|
});
|
|
|
- this.alert.notifications.push({ uid: model.uid });
|
|
|
|
|
|
|
+ if (!_.find(this.alert.notifications, { id: model.id})) {
|
|
|
|
|
+ this.alert.notifications.push({ uid: model.uid });
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// reset plus button
|
|
// reset plus button
|
|
|
this.addNotificationSegment.value = this.uiSegmentSrv.newPlusButton().value;
|
|
this.addNotificationSegment.value = this.uiSegmentSrv.newPlusButton().value;
|