@esfaenza/es-table 12.2.27 → 12.2.28

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.
@@ -4093,8 +4093,8 @@
4093
4093
  case 3: return [4 /*yield*/, this.prefService.retrieve(this.ngControl.name).toPromise()];
4094
4094
  case 4:
4095
4095
  prefs = _s.sent();
4096
- this.View.columns = prefs.columns;
4097
- this.View.column_ordering = prefs.column_ordering;
4096
+ this.View.columns = (prefs === null || prefs === void 0 ? void 0 : prefs.columns) || [];
4097
+ this.View.column_ordering = (prefs === null || prefs === void 0 ? void 0 : prefs.column_ordering) || [];
4098
4098
  _s.label = 5;
4099
4099
  case 5:
4100
4100
  // La paginazione devo farla solamente quando richiedo o un gruppo principale (se sono in row grouping) o se non richiedo gruppi (in tutti lgi altri casi)
@@ -4120,8 +4120,8 @@
4120
4120
  case 8: return [4 /*yield*/, this.prefService.retrieve(this.ngControl.name).toPromise()];
4121
4121
  case 9:
4122
4122
  prefs = _s.sent();
4123
- this.arrayColumns = prefs.columns;
4124
- this.arrayColumnOrdering = prefs.column_ordering;
4123
+ this.arrayColumns = (prefs === null || prefs === void 0 ? void 0 : prefs.columns) || [];
4124
+ this.arrayColumnOrdering = (prefs === null || prefs === void 0 ? void 0 : prefs.column_ordering) || [];
4125
4125
  _s.label = 10;
4126
4126
  case 10:
4127
4127
  if (this.SearchView)