mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1329] fix for pagination
This commit is contained in:
@@ -64,8 +64,7 @@ export abstract class PageComponent {
|
|||||||
onPageLoaded(page: NodePaging) {
|
onPageLoaded(page: NodePaging) {
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
this.paging = page;
|
this.paging = page;
|
||||||
// TODO: review after ADF-2768 is fixed
|
this.pagination = { ...page.list.pagination };
|
||||||
this.pagination = this.pagination || page.list.pagination;
|
|
||||||
this.isEmpty = !(page.list.entries && page.list.entries.length > 0);
|
this.isEmpty = !(page.list.entries && page.list.entries.length > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user