@esfaenza/es-table 11.2.111 → 11.2.112

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.
@@ -3848,9 +3848,10 @@ class EsTableComponent {
3848
3848
  // Se mi baso su direttive ma nelle preference è presente anche solo una colonna non presente nelle direttive
3849
3849
  // vuol dire che l'es-table è cambiata quindi non imposto preference
3850
3850
  if (((_b = this.EsThsDirective) === null || _b === void 0 ? void 0 : _b.length) > 0) {
3851
+ let arr = this.EsThsDirective.toArray();
3851
3852
  let thsCache = {};
3852
- for (let i = 0; i < this.EsThsDirective.length; i++) {
3853
- let th = this.EsThsDirective[i];
3853
+ for (let i = 0; i < arr.length; i++) {
3854
+ let th = arr[i];
3854
3855
  thsCache[th.th] = th;
3855
3856
  }
3856
3857
  for (let i = 0; i < repository.length; i++) {