Add songCount column to Artist table

This commit is contained in:
Deluan 2020-05-08 09:50:33 -04:00 • committed by Deluan Quintão
commit 70047fe20e
5 changed files with 34 additions and 4 deletions

View file

@ -38,6 +38,7 @@ const ArtistList = (props) => (
<Datagrid rowClick={artistRowClick}>
<TextField source="name" />
<NumberField source="albumCount" />
<NumberField source="songCount" />
</Datagrid>
</List>
)

View file

@ -49,7 +49,8 @@
"name": "Artist |||| Artists",
"fields": {
"name": "Name",
"albumCount": "Album Count"
"albumCount": "Album Count",
"songCount": "Song Count"
}
},
"user": {