瀏覽代碼

fix(alerting): minor notification fix

Torkel Ödegaard 9 年之前
父節點
當前提交
c2eeb6dda0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
       });
     });
   }