mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
Fixing a small bug with the /genre switcher
This commit is contained in:
parent
83473c7ed6
commit
f9e88adcc3
@ -69,7 +69,7 @@ export class ItemsGridComponent
|
||||
else if (query.genres != null)
|
||||
selectedGenres = query.genres.split(',');
|
||||
if (this.router.url.startsWith("/genre"))
|
||||
selectedGenres.push(query.slug);
|
||||
selectedGenres.push(this.route.snapshot.params.slug);
|
||||
|
||||
this.filters.genres = this.genres.filter(x => selectedGenres.includes(x.slug));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user