mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactor(): minor refactor
This commit is contained in:
parent
714129c8e3
commit
f80d5f8c03
@ -6,16 +6,8 @@ import {PanelCtrl} from './panel_ctrl';
|
||||
import {MetricsPanelCtrl} from './metrics_panel_ctrl';
|
||||
import {QueryCtrl} from './query_ctrl';
|
||||
|
||||
class DefaultPanelCtrl extends PanelCtrl {
|
||||
/** @ngInject */
|
||||
constructor($scope, $injector) {
|
||||
super($scope, $injector);
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
PanelCtrl,
|
||||
DefaultPanelCtrl,
|
||||
MetricsPanelCtrl,
|
||||
QueryCtrl,
|
||||
}
|
||||
|
@ -33,7 +33,7 @@
|
||||
</li>
|
||||
<li class="tight-form-item last">
|
||||
<a class="pointer" tabindex="1" ng-click="ctrl.removeQuery(target)">
|
||||
<i class="fa fa-remove"></i>
|
||||
<i class="fa fa-trash"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -1,7 +1,7 @@
|
||||
///<reference path="../../../headers/common.d.ts" />
|
||||
|
||||
import _ from 'lodash';
|
||||
import {PanelCtrl} from '../../../features/panel/panel';
|
||||
import {PanelCtrl} from 'app/features/panel/panel';
|
||||
|
||||
// Set and populate defaults
|
||||
var panelDefaults = {
|
||||
|
Loading…
Reference in New Issue
Block a user