diff --git a/public/app/features/alerts/alerts_ctrl.ts b/public/app/features/alerts/alerts_ctrl.ts index 7b07b18ec18..dc89746f370 100644 --- a/public/app/features/alerts/alerts_ctrl.ts +++ b/public/app/features/alerts/alerts_ctrl.ts @@ -23,16 +23,6 @@ export class AlertPageCtrl { }); }); } - - deleteAlert(alert) { - this.backendSrv.delete('/api/alerts/' + alert.id).then(result => { - if (result.alertId) { - this.alerts = this.alerts.filter(alert => { - return alert.id !== result.alertId; - }); - } - }); - } } coreModule.controller('AlertPageCtrl', AlertPageCtrl); diff --git a/public/app/features/alerts/partials/alerts_page.html b/public/app/features/alerts/partials/alerts_page.html index 5948d45ad7e..f1cdbdb45d6 100644 --- a/public/app/features/alerts/partials/alerts_page.html +++ b/public/app/features/alerts/partials/alerts_page.html @@ -11,7 +11,6 @@ Name State - @@ -30,11 +29,6 @@ edit - - - - -