mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 07:35:45 -06:00
fix(plugins): fixes broken plugin link
This commit is contained in:
parent
85466c7ee1
commit
c1e4d0590c
@ -11,7 +11,7 @@ export class AppPageCtrl {
|
||||
/** @ngInject */
|
||||
constructor(private backendSrv, private $routeParams: any, private $rootScope) {
|
||||
this.pluginId = $routeParams.pluginId;
|
||||
this.backendSrv.get(`/api/org/plugins/${this.pluginId}/settings`).then(app => {
|
||||
this.backendSrv.get(`/api/plugins/${this.pluginId}/settings`).then(app => {
|
||||
this.appModel = app;
|
||||
this.page = _.findWhere(app.pages, {slug: this.$routeParams.slug});
|
||||
if (!this.page) {
|
||||
|
Loading…
Reference in New Issue
Block a user