mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 04:20:07 +02:00
[bugfix]: fix combined title for artist, favoriting on grid pages
This commit is contained in:
@@ -50,7 +50,7 @@ const StyledImage = styled(SimpleImg)`
|
||||
export const CombinedTitleCell = ({ value, rowIndex, node }: ICellRendererParams) => {
|
||||
const artists = useMemo(() => {
|
||||
if (!value) return null;
|
||||
return value.artists.length ? value.artists : value.albumArtists;
|
||||
return value.artists?.length ? value.artists : value.albumArtists;
|
||||
}, [value]);
|
||||
|
||||
if (value === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user