I have a service that has a public property declared as follows:
public indiceUsuarios: IndiceUsuario[] = [];
After changing data and doing operations I reload that property with the following method in the same class:
  private reloadIndiceLocal(indiceUsuarios: IndiceUsuario[]): void {
    let self = this;
    self.indiceUsuarios.length = 0;
    self.indiceUsuarios.push(...indiceUsuarios);
  }
I'm injecting this service into another component and referencing that property on the ngOnInit() using the following line this.indiceUsuarios = this.sesionService.indiceUsuarios; (this local property is not initialized before this). I'm then using this local property on this component's view. It shows perfectly fine and is changing when I add elements to the array.
The issue is that if I remove elements from the array they will keep showing (the view is not updating to reflect these changes).
Any ideas?
