fix(alerting): minor notification fix

This commit is contained in:
Torkel Ödegaard 2016-07-27 10:15:21 +02:00
parent cde1bbff78
commit c2eeb6dda0

View File

@ -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;
});
});
}