From ef49f62ca2ec087da84477393e3bcb3b8d215613 Mon Sep 17 00:00:00 2001 From: Wilco Krikke Date: Tue, 19 Dec 2023 14:14:57 +0100 Subject: [PATCH] AW-5727 - Farms blijft leeg bij harde reload --- .../feature-list-container.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/common-map/src/fm-map/components/feature-list-container/feature-list-container.component.ts b/projects/common-map/src/fm-map/components/feature-list-container/feature-list-container.component.ts index da05c3f..e9a332c 100644 --- a/projects/common-map/src/fm-map/components/feature-list-container/feature-list-container.component.ts +++ b/projects/common-map/src/fm-map/components/feature-list-container/feature-list-container.component.ts @@ -64,9 +64,9 @@ export class FeatureListContainerComponent { viewContainerRef.clear(); if(showItem) { this.componentRef = viewContainerRef.createComponent(componentFactory); - (this.componentRef.instance).features = null; - (this.componentRef.instance).queryState = queryState; - (this.componentRef.instance).selectedFeature = null; + (this.componentRef.instance).features = this.features; + (this.componentRef.instance).queryState = this.queryState; + (this.componentRef.instance).selectedFeature = this.selectedFeature; } }