Skip to content

Commit

Permalink
fix: load genre correctly from url
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Dec 1, 2023
1 parent 47f7ce5 commit 4533380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/events/events-list/events-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}

Expand Down

0 comments on commit 4533380

Please sign in to comment.