Skip to content

Commit

Permalink
Fix continuous loop when showing an album or playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Sep 29, 2020
1 parent 1eb62ee commit 377d8f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/album/AlbumShow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 />}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/playlist/PlaylistShow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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} />
Expand Down

0 comments on commit 377d8f6

Please sign in to comment.