[ACS-5654] Retain filter header in document list. (#8811)

* [ACS-5654] Retain filter header in document list.

* [ACS-5654] Unit tests

* [ACS-5654] Unit tests

* [ACS-5654] Unit test fix.
This commit is contained in:
Aayush Rohila
2023-09-01 20:00:24 +05:30
committed by GitHub
parent 9ce8b01914
commit b4ffc866d7
2 changed files with 13 additions and 0 deletions

View File

@@ -451,6 +451,9 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
.subscribe(val => this.contextActionCallback(val));
this.enforceSingleClickNavigationForMobile();
if (this.filterValue && Object.keys(this.filterValue).length > 0) {
this.showHeader = ShowHeaderMode.Always;
}
}
ngAfterContentInit() {