Browse Source

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

bergquist 9 years ago
parent
commit
daea38060f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/alerting/notification_edit_ctrl.ts

+ 1 - 1
public/app/features/alerting/notification_edit_ctrl.ts

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