Skip to content

Commit 1d90e12

Browse files
[UXP-219] fix comparison sign - porting of CST-18772
1 parent b8614d4 commit 1d90e12

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 - 1;
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)