mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 13:39:19 -06:00
feat(notifications): redirect to notification list after creation.
This commit is contained in:
parent
002cfb09cb
commit
daea38060f
@ -38,8 +38,8 @@ export class AlertNotificationEditCtrl {
|
||||
});
|
||||
} else {
|
||||
this.backendSrv.post(`/api/alert-notifications`, this.model).then(res => {
|
||||
this.$location.path('alerting/notification/' + res.id + '/edit');
|
||||
this.$scope.appEvent('alert-success', ['Notification created', '']);
|
||||
this.$location.path('alerting/notifications');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user