mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(alerting): minor notification fix
This commit is contained in:
parent
cde1bbff78
commit
c2eeb6dda0
@ -23,7 +23,7 @@ export class AlertNotificationsListCtrl {
|
|||||||
deleteNotification(id) {
|
deleteNotification(id) {
|
||||||
this.backendSrv.delete(`/api/alert-notifications/${id}`).then(() => {
|
this.backendSrv.delete(`/api/alert-notifications/${id}`).then(() => {
|
||||||
this.notifications = this.notifications.filter(notification => {
|
this.notifications = this.notifications.filter(notification => {
|
||||||
return notification.id !== notificationId;
|
return notification.id !== id;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user