diff --git a/public/app/features/alerting/notifications_list_ctrl.ts b/public/app/features/alerting/notifications_list_ctrl.ts index 184d829f69d..705f3a27c4f 100644 --- a/public/app/features/alerting/notifications_list_ctrl.ts +++ b/public/app/features/alerting/notifications_list_ctrl.ts @@ -23,7 +23,7 @@ export class AlertNotificationsListCtrl { deleteNotification(id) { this.backendSrv.delete(`/api/alert-notifications/${id}`).then(() => { this.notifications = this.notifications.filter(notification => { - return notification.id !== notificationId; + return notification.id !== id; }); }); }