Merge pull request #4077 from arvoConsultores/DS-4053

Filters disappeared on reload
This commit is contained in:
Alan Orth
2025-03-14 16:23:57 +03:00
committed by GitHub

View File

@@ -88,6 +88,7 @@ export class SearchFiltersComponent implements OnInit, OnDestroy {
}
ngOnInit(): void {
this.router.events.subscribe(() => {
this.clearParams = this.searchConfigService.getCurrentFrontendFilters().pipe(
tap(() => this.filtersWithComputedVisibility = 0),
map((filters) => {
@@ -96,6 +97,7 @@ export class SearchFiltersComponent implements OnInit, OnDestroy {
})
);
this.searchLink = this.getSearchLink();
});
}
/**