Преглед изворни кода

fix(plugins): fixes broken plugin link

bergquist пре 9 година
родитељ
комит
c1e4d0590c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      public/app/features/plugins/plugin_page_ctrl.ts

+ 1 - 1
public/app/features/plugins/plugin_page_ctrl.ts

@@ -11,7 +11,7 @@ export class AppPageCtrl {
   /** @ngInject */
   /** @ngInject */
   constructor(private backendSrv, private $routeParams: any, private $rootScope) {
   constructor(private backendSrv, private $routeParams: any, private $rootScope) {
     this.pluginId = $routeParams.pluginId;
     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.appModel = app;
       this.page = _.findWhere(app.pages, {slug: this.$routeParams.slug});
       this.page = _.findWhere(app.pages, {slug: this.$routeParams.slug});
       if (!this.page) {
       if (!this.page) {