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; } }