From 5a15d6c35f2444a658f7936dc7a5872e77bb6bef Mon Sep 17 00:00:00 2001 From: kulgg <75735874+kulgg@users.noreply.github.com> Date: Wed, 28 Feb 2024 14:27:35 +0100 Subject: [PATCH] . --- .../catalog-page/catalog-page/catalog-page.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/routes/broker-ui/catalog-page/catalog-page/catalog-page.component.ts b/src/app/routes/broker-ui/catalog-page/catalog-page/catalog-page.component.ts index d9cc2335a..18099448c 100644 --- a/src/app/routes/broker-ui/catalog-page/catalog-page/catalog-page.component.ts +++ b/src/app/routes/broker-ui/catalog-page/catalog-page/catalog-page.component.ts @@ -77,7 +77,7 @@ export class CatalogPageComponent implements OnInit, OnDestroy { if (this.sortBy.value?.sorting !== state.activeSorting?.sorting) { this.sortBy.setValue(state.activeSorting); } - if (!this.expandedFilterId && this.state.isPageReady) { + if (!this.expandedFilterId && this.state.fetchedData.isReady) { this.expandedFilterId = this.state.fetchedData.data.availableFilters.fields[0].id; }