Add 'AlbumArtist' column to SongList

This commit is contained in:
Deluan 2021-06-28 09:54:17 -04:00
parent 292cf99f49
commit 25f0e11562
1 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ const SongList = (props) => {
/>
),
artist: <TextField source="artist" />,
albumArtist: <TextField source="albumArtist" />,
trackNumber: isDesktop && <NumberField source="trackNumber" />,
playCount: isDesktop && (
<NumberField source="playCount" sortByOrder={'DESC'} />
@ -120,7 +121,7 @@ const SongList = (props) => {
const columns = useSelectedFields({
resource: 'song',
columns: toggleableFields,
defaultOff: ['bpm', 'playDate'],
defaultOff: ['bpm', 'playDate', 'albumArtist'],
})
return (