From c2eeb6dda0426173976035e58a8f19a7f60ed528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 27 Jul 2016 10:15:21 +0200 Subject: [PATCH] fix(alerting): minor notification fix --- public/app/features/alerting/notifications_list_ctrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }); }); }