diff --git a/public/app/features/alerting/AlertTabCtrl.ts b/public/app/features/alerting/AlertTabCtrl.ts index 9a0baf00b75..030e2959cf8 100644 --- a/public/app/features/alerting/AlertTabCtrl.ts +++ b/public/app/features/alerting/AlertTabCtrl.ts @@ -168,8 +168,8 @@ export class AlertTabCtrl { removeNotification(an: any) { // remove notifiers refeered to by id and uid to support notifiers added // before and after we added support for uid - _.remove(this.alert.notifications, (n: any) => n.uid === an.uid || n.id === an.id); - _.remove(this.alertNotifications, (n: any) => n.uid === an.uid || n.id === an.id); + _.remove(this.alert.notifications, (n: any) => n.uid === an.uid); + _.remove(this.alertNotifications, (n: any) => n.uid === an.uid); } addAlertRuleTag() {