sigesp 0.9.89-20231124 → 0.9.90-20231129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3836,7 +3836,9 @@
3836
3836
  _this.centroCosto = unidad.codcencos;
3837
3837
  _this.id = unidad.id_uniadm;
3838
3838
  _this.denominacionUnidadCentral = unidad.denuac;
3839
- _this.estructuras = unidad.estructuras.map(function (e) { return new MEstructuras(e); });
3839
+ if (unidad.estructuras) {
3840
+ _this.estructuras = unidad.estructuras.map(function (e) { return new MEstructuras(e); });
3841
+ }
3840
3842
  }
3841
3843
  else {
3842
3844
  _this.isNew = true;