We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6cc3344 + 1d90e12 commit 03d9c08Copy full SHA for 03d9c08
1 file changed
src/app/shared/media-player/media-player-playlist/media-player-playlist.component.ts
@@ -140,7 +140,7 @@ export class MediaPlayerPlaylistComponent implements OnInit {
140
return response.hasSucceeded ? response.payload : buildPaginatedList(null, []);
141
}),
142
mergeMap((bitstreamList: PaginatedList<Bitstream>) => {
143
- this.hasMoreElements = this.pageOptions.currentPage !== bitstreamList?.pageInfo?.totalPages;
+ this.hasMoreElements = this.pageOptions.currentPage < bitstreamList?.pageInfo?.totalPages - 1;
144
if (scrollToGivenUUID && isEmpty(this.selectedMediaItem)) {
145
146
const bitstreamIndex = findIndex(bitstreamList.page, { uuid: this.startUUID });
0 commit comments