diff --git a/public/app/features/apps/edit_ctrl.ts b/public/app/features/apps/edit_ctrl.ts index 2cbeb4a2ae1..d793f045690 100644 --- a/public/app/features/apps/edit_ctrl.ts +++ b/public/app/features/apps/edit_ctrl.ts @@ -7,10 +7,9 @@ export class AppEditCtrl { appModel: any; /** @ngInject */ - constructor(private backendSrv: any, private $routeParams: any) {} - - init() { + constructor(private backendSrv: any, private $routeParams: any) { this.appModel = {}; + this.backendSrv.get(`/api/org/apps/${this.$routeParams.appId}/settings`).then(result => { this.appModel = result; }); diff --git a/public/app/features/apps/partials/edit.html b/public/app/features/apps/partials/edit.html index fc09dc4754c..4de73a25901 100644 --- a/public/app/features/apps/partials/edit.html +++ b/public/app/features/apps/partials/edit.html @@ -5,99 +5,99 @@
-
-