Refactor album actions, simplify usage

This commit is contained in:
Deluan
2020-05-07 11:24:28 -04:00
parent 16f2b056ef
commit 06ab88415a
6 changed files with 35 additions and 24 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ const AlbumSongs = (props) => {
) : (
<Datagrid
expand={!isXsmall && <SongDetails />}
rowClick={(id) => dispatch(playAlbum(id, data))}
rowClick={(id) => dispatch(playAlbum(data, ids, id))}
{...controllerProps}
hasBulkActions={hasBulkActions}
>