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

This commit is contained in:
bergquist 2016-09-05 08:27:12 +02:00
parent 002cfb09cb
commit daea38060f

View File

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