mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
pagination workarounds (#321)
* pagination workarounds * update the code
This commit is contained in:
committed by
Cilibiu Bogdan
parent
cb409335b0
commit
c4b03e2bb4
@@ -64,7 +64,8 @@ export abstract class PageComponent {
|
||||
onPageLoaded(page: NodePaging) {
|
||||
this.isLoading = false;
|
||||
this.paging = page;
|
||||
this.pagination = page.list.pagination;
|
||||
// TODO: review after ADF-2768 is fixed
|
||||
this.pagination = this.pagination || page.list.pagination;
|
||||
this.isEmpty = !(page.list.entries && page.list.entries.length > 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user