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. 4
      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) {
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) {
return undefined;
}
@ -537,7 +537,7 @@ class GraphCtrl extends MetricsPanelCtrl {
// }
get pluginPath() {
return 'public/plugins/hastic-app';
return 'public/plugins/corpglory-hastic-app';
}
get panelPath() {

4
src/panel/graph_panel/plugin.json

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