Browse Source

Paths fixes after merging #179

master
rozetko 6 years ago
parent
commit
90c73c3956
  1. 4
      src/panel/graph_panel/graph_ctrl.ts
  2. 6
      src/panel/graph_panel/plugin.json

4
src/panel/graph_panel/graph_ctrl.ts

@ -176,7 +176,7 @@ class GraphCtrl extends MetricsPanelCtrl {
if(this._backendUrl !== undefined) { if(this._backendUrl !== undefined) {
return this._backendUrl; return this._backendUrl;
} }
var data = await this.backendSrv.get('/api/plugins/hastic-app/settings'); var data = await this.backendSrv.get('api/plugins/corpglory-hastic-app/settings');
if(data.jsonData === undefined || data.jsonData === null) { if(data.jsonData === undefined || data.jsonData === null) {
return undefined; return undefined;
} }
@ -537,7 +537,7 @@ class GraphCtrl extends MetricsPanelCtrl {
// } // }
get pluginPath() { get pluginPath() {
return 'public/plugins/hastic-app'; return 'public/plugins/corpglory-hastic-app';
} }
get panelPath() { get panelPath() {

6
src/panel/graph_panel/plugin.json

@ -4,8 +4,8 @@
"id": "corpglory-hastic-graph-panel", "id": "corpglory-hastic-graph-panel",
"info": { "info": {
"logos": { "logos": {
"small": "../hastic-app/img/icn-graph-panel.png", "small": "corpglory-hastic-app/img/icn-graph-panel.png",
"large": "../hastic-app/img/icn-graph-panel.png" "large": "corpglory-hastic-app/img/icn-graph-panel.png"
} }
} }
} }

Loading…
Cancel
Save