mirror of
https://github.com/zoriya/Kyoo.Angular.git
synced 2026-05-24 23:25:54 +00:00
Cleaning up search history
This commit is contained in:
@@ -68,7 +68,7 @@ export class AppComponent
|
||||
if (query != "")
|
||||
{
|
||||
event.target.classList.add("searching");
|
||||
this.router.navigate(["/search/" + query], { replaceUrl: this.router.url.startsWith("/search/") });
|
||||
this.router.navigate(["/search", query], { replaceUrl: this.router.url.startsWith("/search") });
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user