Detect changes
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
56a7544c1e
commit
0e13b98b7f
@ -81,9 +81,11 @@ export class FeatureListContainerComponent {
|
|||||||
}
|
}
|
||||||
if ((changes["features"] && changes["features"].currentValue)) {
|
if ((changes["features"] && changes["features"].currentValue)) {
|
||||||
(<AbstractFeatureListComponent>this.componentRef.instance).features = changes["features"].currentValue;
|
(<AbstractFeatureListComponent>this.componentRef.instance).features = changes["features"].currentValue;
|
||||||
|
this.componentRef.changeDetectorRef.detectChanges();
|
||||||
}
|
}
|
||||||
if(changes["selectedFeature"]) {
|
if(changes["selectedFeature"]) {
|
||||||
(<AbstractFeatureListComponent>this.componentRef.instance).selectedFeature = changes["selectedFeature"].currentValue;
|
(<AbstractFeatureListComponent>this.componentRef.instance).selectedFeature = changes["selectedFeature"].currentValue;
|
||||||
|
this.componentRef.changeDetectorRef.detectChanges();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user