ngFor Not Updating

@finke The code looks OK. I guess that it might be something zone-related, e.g. like the following zone.js issue: Losing zone in RxJS and fetch. I’ll suggest you to check in which zone your code is being executed:

onGetNear() {
  // ...
  this._dataService.nearbySearch(req).subscribe(res => {
    this.places = res;
    console.log(Zone.current.name);
    console.log(this.places);
  });
}
1 Like