feat(ui): add mood column to Album and Song list views (#3925)
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -168,6 +168,13 @@ const SongList = (props) => {
|
||||
),
|
||||
bpm: isDesktop && <NumberField source="bpm" />,
|
||||
genre: <TextField source="genre" />,
|
||||
mood: isDesktop && (
|
||||
<FunctionField
|
||||
source="mood"
|
||||
render={(r) => r.tags?.mood?.[0] || ''}
|
||||
sortable={false}
|
||||
/>
|
||||
),
|
||||
comment: <TextField source="comment" />,
|
||||
path: <PathField source="path" />,
|
||||
createdAt: <DateField source="createdAt" showTime />,
|
||||
@@ -183,6 +190,7 @@ const SongList = (props) => {
|
||||
'playDate',
|
||||
'albumArtist',
|
||||
'genre',
|
||||
'mood',
|
||||
'comment',
|
||||
'path',
|
||||
'createdAt',
|
||||
|
||||
Reference in New Issue
Block a user