mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
[ACS-5654] Retain filter header in document list. (#3381)
* [ACS-5654] Retain filter header in document list. * [ACS-5654 Unit tests] * [ACS-5654] Unit test update
This commit is contained in:
@@ -95,7 +95,6 @@ export class FilesComponent extends PageComponent implements OnInit, OnDestroy {
|
||||
this.route.queryParamMap.subscribe((queryMap: Params) => {
|
||||
this.queryParams = queryMap.params;
|
||||
});
|
||||
|
||||
this.route.params.subscribe(({ folderId }: Params) => {
|
||||
const nodeId = folderId || data.defaultNodeId;
|
||||
|
||||
@@ -129,6 +128,9 @@ export class FilesComponent extends PageComponent implements OnInit, OnDestroy {
|
||||
});
|
||||
|
||||
this.columns = this.extensions.documentListPresets.files || [];
|
||||
if (this.queryParams && Object.keys(this.queryParams).length > 0) {
|
||||
this.isFilterHeaderActive = true;
|
||||
}
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
|
Reference in New Issue
Block a user