mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
fix(stalker): reset search phrase after cmp destroy
This commit is contained in:
1 parent
6f4ed6f0de
commit
c8e3e48a96
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user