This commit is contained in:
Zoe Roux 2020-09-25 00:36:00 +02:00
parent 530338aa94
commit 3ec72bbead

View File

@ -58,6 +58,10 @@ export class ItemsGridComponent implements OnInit
}); });
} }
// TODO need to put every filter available in one place (it is everywhere for now)
// TODO clean route change
// TODO support dynamic switching between /genre & /browse & /whatever.
static routeMapper(route: ActivatedRouteSnapshot, endpoint: string, query: [string, string][]): string static routeMapper(route: ActivatedRouteSnapshot, endpoint: string, query: [string, string][]): string
{ {
const filter: string[] = ["genres", "studio"]; const filter: string[] = ["genres", "studio"];