Revert "[ACS-10083] Filter not behaving correctly in file and site (#… (#11327)

* Revert "[ACS-10083] Filter not behaving correctly in file and site (#11237)"

This reverts commit 5016eff847.

* [ACS-10083]: fixes sonarqube issue
This commit is contained in:
Anton Ramanovich
2025-11-04 08:19:58 +01:00
committed by GitHub
parent 4acda3b09b
commit e85a27e05b
12 changed files with 47 additions and 180 deletions
@@ -599,7 +599,7 @@ export class DocumentListComponent extends DataTableSchema implements OnInit, On
}
if (this.currentFolderId && changes['currentFolderId']?.currentValue !== changes['currentFolderId']?.previousValue) {
!this.filterValue && this.loadFolder();
this.loadFolder();
}
if (this.data) {
@@ -816,6 +816,7 @@ export class DocumentListComponent extends DataTableSchema implements OnInit, On
this.preserveExistingSelection();
}
this.onPreselectNodes();
this.setLoadingState(false);
this.onDataReady(nodePaging);
}
}
@@ -1022,7 +1023,6 @@ export class DocumentListComponent extends DataTableSchema implements OnInit, On
private onDataReady(nodePaging: NodePaging) {
this.ready.emit(nodePaging);
this.pagination.next(nodePaging.list.pagination);
this.setLoadingState(false);
}
updatePagination(requestPaginationModel: RequestPaginationModel) {