Fix continuous loop when showing an album or playlist
This commit is contained in:
parent
1eb62ee671
commit
377d8f6b87
|
@ -30,7 +30,7 @@ const AlbumShow = (props) => {
|
|||
filter={{ album_id: props.id }}
|
||||
resource={'albumSong'}
|
||||
exporter={false}
|
||||
perPage={-1}
|
||||
perPage={0}
|
||||
pagination={null}
|
||||
sort={{ field: 'discNumber asc, trackNumber asc', order: 'ASC' }}
|
||||
bulkActionButtons={<AlbumSongBulkActions />}
|
||||
|
|
|
@ -30,7 +30,7 @@ const PlaylistShow = (props) => {
|
|||
filter={{ playlist_id: props.id }}
|
||||
resource={'playlistTrack'}
|
||||
exporter={false}
|
||||
perPage={-1}
|
||||
perPage={0}
|
||||
pagination={null}
|
||||
bulkActionButtons={
|
||||
<PlaylistSongBulkActions playlistId={props.id} record={record} />
|
||||
|
|
Loading…
Reference in New Issue