mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux(dashboard): fixes for changing panel tabs, #6442
This commit is contained in:
@@ -100,7 +100,10 @@ export class KeybindingSrv {
|
||||
this.bind('e', () => {
|
||||
if (dashboard.meta.focusPanelId && dashboard.meta.canEdit) {
|
||||
this.$rootScope.appEvent('panel-change-view', {
|
||||
fullscreen: true, edit: true, panelId: dashboard.meta.focusPanelId
|
||||
fullscreen: true,
|
||||
edit: true,
|
||||
panelId: dashboard.meta.focusPanelId,
|
||||
toggle: true
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -108,7 +111,10 @@ export class KeybindingSrv {
|
||||
this.bind('v', () => {
|
||||
if (dashboard.meta.focusPanelId) {
|
||||
this.$rootScope.appEvent('panel-change-view', {
|
||||
fullscreen: true, edit: null, panelId: dashboard.meta.focusPanelId
|
||||
fullscreen: true,
|
||||
edit: null,
|
||||
panelId: dashboard.meta.focusPanelId,
|
||||
toggle: true,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user