Browse Source

fix(alerting): minor notification fix

Torkel Ödegaard 9 years ago
parent
commit
c2eeb6dda0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/alerting/notifications_list_ctrl.ts

+ 1 - 1
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;
       });
     });
   }