mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2743] changes gallery manager
This commit is contained in:
@@ -92,6 +92,10 @@ export class InfinitePaginationComponent implements OnInit, OnDestroy, Paginatio
|
||||
this.pagination.merge = true;
|
||||
this.loadMore.next(this.pagination);
|
||||
|
||||
if ((this.pagination.skipCount + this.pageSize) > this.pagination.totalItems) {
|
||||
this.pagination.hasMoreItems = false;
|
||||
}
|
||||
|
||||
if (this.target) {
|
||||
this.target.pagination.value.merge = this.pagination.merge;
|
||||
this.target.pagination.value.skipCount = this.pagination.skipCount;
|
||||
|
Reference in New Issue
Block a user