From 0e13b98b7fe3bc6f144d0cc6fa5154c25eba8d78 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Sat, 31 Oct 2020 16:58:03 +0100 Subject: [PATCH] Detect changes --- .../feature-list-container/feature-list-container.component.ts | 2 ++ 1 file changed, 2 insertions(+) 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 0fea03c..8dbd03b 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 @@ -81,9 +81,11 @@ export class FeatureListContainerComponent { } if ((changes["features"] && changes["features"].currentValue)) { (this.componentRef.instance).features = changes["features"].currentValue; + this.componentRef.changeDetectorRef.detectChanges(); } if(changes["selectedFeature"]) { (this.componentRef.instance).selectedFeature = changes["selectedFeature"].currentValue; + this.componentRef.changeDetectorRef.detectChanges(); } } }