mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 06:27:09 +01:00
don't make artist clickable if no id
This commit is contained in:
parent
e6bd8deb0c
commit
4a111d9cf2
@ -244,8 +244,8 @@ export const LeftControls = () => {
|
|||||||
<React.Fragment key={`bar-${artist.id}`}>
|
<React.Fragment key={`bar-${artist.id}`}>
|
||||||
{index > 0 && <Separator />}
|
{index > 0 && <Separator />}
|
||||||
<Text
|
<Text
|
||||||
$link
|
$link={artist.id !== ''}
|
||||||
component={Link}
|
component={artist.id ? Link : undefined}
|
||||||
overflow="hidden"
|
overflow="hidden"
|
||||||
size="md"
|
size="md"
|
||||||
to={
|
to={
|
||||||
@ -253,7 +253,7 @@ export const LeftControls = () => {
|
|||||||
? generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
|
? generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
|
||||||
albumArtistId: artist.id,
|
albumArtistId: artist.id,
|
||||||
})
|
})
|
||||||
: ''
|
: undefined
|
||||||
}
|
}
|
||||||
weight={500}
|
weight={500}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user