From 8e14f4530737b9d5bb067488a2f81dae6e68d8d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Leandro?= Date: Sat, 19 Jun 2021 14:57:57 +0100 Subject: [PATCH] Solved searching while on favorites page --- src/app/navbar/navbar.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/navbar/navbar.component.ts b/src/app/navbar/navbar.component.ts index 1851402..7f76397 100644 --- a/src/app/navbar/navbar.component.ts +++ b/src/app/navbar/navbar.component.ts @@ -37,6 +37,7 @@ export class NavbarComponent implements OnInit { search(): void { this.dataStore.getSearch(this.searchInput, this.dataStore.PageSearch); + this.router.navigate(['']); } modalOpen(content: any) {