Browse Source

Fix empty genre/artist column

master
jeffvli 3 years ago
committed by Jeff
parent
commit
745c0ea6a4
  1. 4
      src/components/viewtypes/ListViewTable.tsx

4
src/components/viewtypes/ListViewTable.tsx

@ -901,7 +901,7 @@ const ListViewTable = ({
>
{column.dataKey.match(/artist|genre/) ? (
<>
{rowData[column.dataKey] && (
{rowData[column.dataKey] ? (
<CustomTooltip text={rowData[column.dataKey][0]?.title}>
<RsuiteLinkButton
appearance="link"
@ -953,6 +953,8 @@ const ListViewTable = ({
{rowData[column.dataKey][0]?.title}
</RsuiteLinkButton>
</CustomTooltip>
) : (
<span>&#8203;</span>
)}
</>
) : column.dataKey === 'album' ? (

Loading…
Cancel
Save