From 64e9f9bf4450b3e7bf185bf2efb509acdba72274 Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Tue, 22 Apr 2025 09:24:56 +0100 Subject: [PATCH] Shortcuts: Remove esc global keybinding clearing search parameter (#104196) --- public/app/core/services/keybindingSrv.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/app/core/services/keybindingSrv.ts b/public/app/core/services/keybindingSrv.ts index bca18c2be23..87b8c402930 100644 --- a/public/app/core/services/keybindingSrv.ts +++ b/public/app/core/services/keybindingSrv.ts @@ -87,10 +87,6 @@ export class KeybindingSrv { this.exit(); } - private closeSearch() { - this.locationService.partial({ search: null }); - } - private openAlerting() { this.locationService.push('/alerting'); } @@ -142,10 +138,6 @@ export class KeybindingSrv { if (kioskMode) { this.chromeService.exitKioskMode(); } - - if (search.search) { - this.closeSearch(); - } } private showDashEditView() {