From 45333804f81565344d4cf2977c30c7823926aba4 Mon Sep 17 00:00:00 2001 From: Gion-Andri Cantieni Date: Fri, 1 Dec 2023 11:04:24 +0100 Subject: [PATCH] fix: load genre correctly from url --- src/app/pages/events/events-list/events-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/pages/events/events-list/events-list.component.ts b/src/app/pages/events/events-list/events-list.component.ts index d06eefd..78fceea 100644 --- a/src/app/pages/events/events-list/events-list.component.ts +++ b/src/app/pages/events/events-list/events-list.component.ts @@ -58,7 +58,7 @@ export class EventsListComponent implements OnInit, OnAttach, OnDetach, OnDestro if (!!params['genres']) { const genres: number[] = params['genres'].split(","); genres.forEach(genreId => { - this.eventsFilterService.toggleRegion(+genreId); + this.eventsFilterService.toggleGenre(+genreId); }); }