Commit 497132c4 by Torkel Ödegaard

fix: esc key now closes panel edit/view mode as usual, fixes #10945

parent 76cfa0be
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment