Fix colour of album actions

This commit is contained in:
Deluan 2020-04-03 22:35:55 -04:00
parent b8f7715a74
commit 656ca1f3b5
2 changed files with 1 additions and 3 deletions

View File

@ -42,7 +42,6 @@ export const AlbumActions = ({
return (
<TopToolbar className={className} {...sanitizeListRestProps(rest)}>
<Button
color={'secondary'}
onClick={() => {
dispatch(playAlbum(ids[0], filteredData))
}}
@ -51,7 +50,6 @@ export const AlbumActions = ({
<PlayArrowIcon />
</Button>
<Button
color={'secondary'}
onClick={() => {
const shuffled = shuffle(filteredData)
const firstId = Object.keys(shuffled)[0]

View File

@ -48,7 +48,7 @@ const AlbumShow = (props) => {
filter={{ album_id: props.id }}
resource={'albumSong'}
exporter={false}
perPage={1000}
perPage={-1}
pagination={null}
sort={{ field: 'discNumber asc, trackNumber asc', order: 'ASC' }}
bulkActionButtons={<AlbumSongBulkActions />}