@esfaenza/es-table 11.2.112 → 11.2.113

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.
@@ -4373,7 +4373,9 @@
4373
4373
  if (updatedPrefs) {
4374
4374
  this.View.columns = (prefs === null || prefs === void 0 ? void 0 : prefs.columns) || [];
4375
4375
  this.View.column_ordering = (prefs === null || prefs === void 0 ? void 0 : prefs.column_ordering) || [];
4376
- this.View.orders = (prefs === null || prefs === void 0 ? void 0 : prefs.orders) || [];
4376
+ // Se le pref sono nulle non sovrascrivo gli ordini dato che potrebbe servire mettere degli ordinamenti di default lato ts
4377
+ if (prefs)
4378
+ this.View.orders = (prefs === null || prefs === void 0 ? void 0 : prefs.orders) || [];
4377
4379
  }
4378
4380
  }
4379
4381
  _t.label = 4;
@@ -4425,7 +4427,9 @@
4425
4427
  if (updatedPrefs) {
4426
4428
  this.View.columns = (prefs === null || prefs === void 0 ? void 0 : prefs.columns) || [];
4427
4429
  this.View.column_ordering = (prefs === null || prefs === void 0 ? void 0 : prefs.column_ordering) || [];
4428
- this.View.orders = (prefs === null || prefs === void 0 ? void 0 : prefs.orders) || [];
4430
+ // Se le pref sono nulle non sovrascrivo gli ordini dato che potrebbe servire mettere degli ordinamenti di default lato ts
4431
+ if (prefs)
4432
+ this.View.orders = (prefs === null || prefs === void 0 ? void 0 : prefs.orders) || [];
4429
4433
  }
4430
4434
  _t.label = 9;
4431
4435
  case 9: