Adjust genre links on detail pages
This commit is contained in:
parent
505974320f
commit
adfa748bfb
2 changed files with 6 additions and 12 deletions
|
@ -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}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Reference in a new issue