Skip to content

Commit 03d9c08

Browse files
FrancescoMolinarovins01-4science
authored andcommitted
Merged in task/ux-plus-2023_02_x/UXP-219 (pull request #37)
Task/ux plus 2023 02 x/UXP-219 Approved-by: Andrea Barbasso
2 parents 6cc3344 + 1d90e12 commit 03d9c08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/media-player/media-player-playlist/media-player-playlist.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class MediaPlayerPlaylistComponent implements OnInit {
140140
return response.hasSucceeded ? response.payload : buildPaginatedList(null, []);
141141
}),
142142
mergeMap((bitstreamList: PaginatedList<Bitstream>) => {
143-
this.hasMoreElements = this.pageOptions.currentPage !== bitstreamList?.pageInfo?.totalPages;
143+
this.hasMoreElements = this.pageOptions.currentPage < bitstreamList?.pageInfo?.totalPages - 1;
144144
if (scrollToGivenUUID && isEmpty(this.selectedMediaItem)) {
145145

146146
const bitstreamIndex = findIndex(bitstreamList.page, { uuid: this.startUUID });

0 commit comments

Comments
 (0)