diff --git a/public/app/features/plugins/page_ctrl.ts b/public/app/features/plugins/page_ctrl.ts index 15b08ca1cfe..9157f14202e 100644 --- a/public/app/features/plugins/page_ctrl.ts +++ b/public/app/features/plugins/page_ctrl.ts @@ -5,14 +5,13 @@ import _ from 'lodash'; export class AppPageCtrl { page: any; - appId: any; + pluginId: any; appModel: any; /** @ngInject */ constructor(private backendSrv, private $routeParams: any, private $rootScope) { - this.appId = $routeParams.appId; - - this.backendSrv.get(`/api/org/apps/${this.appId}/settings`).then(app => { + this.pluginId = $routeParams.pluginId; + this.backendSrv.get(`/api/org/plugins/${this.pluginId}/settings`).then(app => { this.appModel = app; this.page = _.findWhere(app.pages, {slug: this.$routeParams.slug}); if (!this.page) { diff --git a/public/app/features/plugins/partials/edit.html b/public/app/features/plugins/partials/edit.html index 8747ac66610..815e165cc85 100644 --- a/public/app/features/plugins/partials/edit.html +++ b/public/app/features/plugins/partials/edit.html @@ -72,7 +72,7 @@ {{ds.name}}