mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(panels): progress on new panel infrastructure, base classes
This commit is contained in:
@@ -15,7 +15,8 @@ export class PanelCtrl {
|
||||
icon: string;
|
||||
editorTabs: any;
|
||||
$scope: any;
|
||||
isMetricsPanel: boolean;
|
||||
fullscreen: boolean;
|
||||
inspector: any;
|
||||
|
||||
constructor($scope) {
|
||||
var plugin = config.panels[this.panel.type];
|
||||
@@ -77,4 +78,8 @@ export class PanelCtrl {
|
||||
menu.push({text: 'Share', click: 'ctrl.share(); dismiss();'});
|
||||
return menu;
|
||||
}
|
||||
|
||||
otherPanelInFullscreenMode() {
|
||||
return this.dashboard.meta.fullscreen && !this.fullscreen;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user