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

View File

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