Chore: rename app config
This commit is contained in:
4
src/app_config_ctrl/config.js
Normal file
4
src/app_config_ctrl/config.js
Normal file
@@ -0,0 +1,4 @@
|
||||
export class ZabbixAppConfigCtrl {
|
||||
constructor() { }
|
||||
}
|
||||
ZabbixAppConfigCtrl.templateUrl = 'app_config_ctrl/config.html';
|
||||
@@ -1,4 +0,0 @@
|
||||
export class ZabbixAppConfigCtrl {
|
||||
constructor() { }
|
||||
}
|
||||
ZabbixAppConfigCtrl.templateUrl = 'components/config.html';
|
||||
@@ -1,7 +1,7 @@
|
||||
import './sass/grafana-zabbix.dark.scss';
|
||||
import './sass/grafana-zabbix.light.scss';
|
||||
|
||||
import {ZabbixAppConfigCtrl} from './components/config';
|
||||
import {ZabbixAppConfigCtrl} from './app_config_ctrl/config';
|
||||
import {loadPluginCss} from 'grafana/app/plugins/sdk';
|
||||
|
||||
loadPluginCss({
|
||||
|
||||
@@ -15,8 +15,8 @@ module.exports = {
|
||||
target: 'node',
|
||||
context: resolve('src'),
|
||||
entry: {
|
||||
'./module': './module.js',
|
||||
'components/config': './components/config.js',
|
||||
'module': './module.js',
|
||||
'app_config_ctrl/config': './app_config_ctrl/config.js',
|
||||
'datasource-zabbix/module': './datasource-zabbix/module.ts',
|
||||
'panel-triggers/module': './panel-triggers/module.js',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user