From c8e3e48a96db1958c9d08256dc0f68647bb14b52 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sat, 24 Aug 2024 18:37:29 +0200 Subject: [PATCH] fix(stalker): reset search phrase after cmp destroy --- src/app/stalker/stalker-main-container.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/stalker/stalker-main-container.component.ts b/src/app/stalker/stalker-main-container.component.ts index 3173a3af9..f486c61a0 100644 --- a/src/app/stalker/stalker-main-container.component.ts +++ b/src/app/stalker/stalker-main-container.component.ts @@ -623,6 +623,7 @@ export class StalkerMainContainerComponent implements OnInit { } ngOnDestroy() { + this.portalStore.setSearchPhrase(''); if (this.dataService.isElectron) { this.commandsList.forEach((command) => this.dataService.removeAllListeners(command.id)