mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
updated
This commit is contained in:
parent
3e3b996963
commit
8dd118bd86
@ -23,7 +23,6 @@ export default class PanelMeta {
|
||||
this.addMenuItem('Edit', 'icon-cog', 'editPanel(); dismiss();', 'Editor');
|
||||
this.addMenuItem('Duplicate', 'icon-copy', 'duplicatePanel()', 'Editor');
|
||||
this.addMenuItem('Share', 'icon-share', 'sharePanel(); dismiss();');
|
||||
|
||||
this.addEditorTab('General', 'app/partials/panelgeneral.html');
|
||||
|
||||
if (options.metricsEditor) {
|
||||
|
@ -15,7 +15,6 @@ class PanelBaseCtrl {
|
||||
}
|
||||
|
||||
class TestPanelCtrl extends PanelBaseCtrl {
|
||||
|
||||
constructor($scope) {
|
||||
super($scope);
|
||||
$scope.panelMeta.panelName = "Test";
|
||||
@ -32,7 +31,8 @@ function testPanelDirective() {
|
||||
</div>
|
||||
</grafana-panel>
|
||||
`,
|
||||
controller: TestPanelCtrl
|
||||
controller: TestPanelCtrl,
|
||||
controllerAs: 'ctrl',
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user