feat: add playcounts to album and songs

(fix year in song list)
This commit is contained in:
Deluan
2020-03-28 20:38:41 -04:00
parent 777231ea79
commit fec8b5f731
4 changed files with 13 additions and 5 deletions
+1
View File
@@ -35,6 +35,7 @@ const AlbumListView = (props) => {
render={(r) => (r.albumArtist ? r.albumArtist : r.artist)}
/>
{isDesktop && <NumberField source="songCount" />}
{isDesktop && <NumberField source="playCount" />}
<RangeField source={'year'} sortBy={'maxYear'} />
{isDesktop && <DurationField source="duration" />}
</Datagrid>