Adjust genre links on detail pages

This commit is contained in:
jeffvli 2023-08-03 19:04:12 -07:00
parent 505974320f
commit adfa748bfb
2 changed files with 6 additions and 12 deletions

View file

@ -317,12 +317,9 @@ export const AlbumDetailContent = ({ tableRef, background }: AlbumDetailContentP
component={Link} component={Link}
radius={0} radius={0}
size="md" size="md"
to={generatePath( to={generatePath(AppRoute.LIBRARY_GENRES_SONGS, {
`${AppRoute.LIBRARY_ALBUMS}?genre=${genre.id}`, genreId: genre.id,
{ })}
albumId,
},
)}
variant="outline" variant="outline"
> >
{genre.name} {genre.name}

View file

@ -400,12 +400,9 @@ export const AlbumArtistDetailContent = ({ background }: AlbumArtistDetailConten
component={Link} component={Link}
radius="md" radius="md"
size="md" size="md"
to={generatePath( to={generatePath(AppRoute.LIBRARY_GENRES_SONGS, {
`${AppRoute.LIBRARY_ALBUM_ARTISTS}?genre=${genre.id}`, genreId: genre.id,
{ })}
albumArtistId,
},
)}
variant="outline" variant="outline"
> >
{genre.name} {genre.name}