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}`}>
|
||||
{index > 0 && <Separator />}
|
||||
<Text
|
||||
$link
|
||||
component={Link}
|
||||
$link={artist.id !== ''}
|
||||
component={artist.id ? Link : undefined}
|
||||
overflow="hidden"
|
||||
size="md"
|
||||
to={
|
||||
@ -253,7 +253,7 @@ export const LeftControls = () => {
|
||||
? generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
|
||||
albumArtistId: artist.id,
|
||||
})
|
||||
: ''
|
||||
: undefined
|
||||
}
|
||||
weight={500}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user