mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
[bugfix]: fix combined title for artist, favoriting on grid pages
This commit is contained in:
parent
14086ebc9c
commit
15c6ef382a
7 changed files with 70 additions and 86 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue