Commit daea3806 by bergquist

feat(notifications): redirect to notification list after creation.

parent 002cfb09
...@@ -38,8 +38,8 @@ export class AlertNotificationEditCtrl { ...@@ -38,8 +38,8 @@ export class AlertNotificationEditCtrl {
}); });
} else { } else {
this.backendSrv.post(`/api/alert-notifications`, this.model).then(res => { 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.$scope.appEvent('alert-success', ['Notification created', '']);
this.$location.path('alerting/notifications');
}); });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment