Daniel Lee 8 лет назад
Родитель
Сommit
7ea5930a90
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/features/alerting/notification_edit_ctrl.ts

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

@@ -88,7 +88,7 @@ export class AlertNotificationEditCtrl {
 
 
     this.backendSrv.post(`/api/alert-notifications/test`, payload)
     this.backendSrv.post(`/api/alert-notifications/test`, payload)
     .then(res => {
     .then(res => {
-      appEvents.emit('alert-succes', ['Test notification sent', '']);
+      appEvents.emit('alert-success', ['Test notification sent', '']);
     });
     });
   }
   }
 }
 }