mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
fix: esc key now closes panel edit/view mode as usual, fixes #10945
This commit is contained in:
parent
76cfa0bee3
commit
497132c441
@ -73,7 +73,7 @@ export class KeybindingSrv {
|
||||
appEvents.emit('hide-modal');
|
||||
|
||||
if (!this.modalOpen) {
|
||||
appEvents.emit('panel-change-view', { fullscreen: false, edit: false });
|
||||
this.$rootScope.appEvent('panel-change-view', { fullscreen: false, edit: false });
|
||||
} else {
|
||||
this.modalOpen = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user