mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-22 03:44:34 +02:00
optimize detail columns
This commit is contained in:
@@ -2,6 +2,6 @@ import { ItemDetailListCellProps } from './types';
|
||||
|
||||
export const ComposerColumn = ({ song }: ItemDetailListCellProps) => {
|
||||
const composers = song.participants?.composer;
|
||||
if (!composers?.length) return '—';
|
||||
if (!composers?.length) return <> </>;
|
||||
return composers.map((a) => a.name).join(', ');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user