@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.
- package/bundles/esfaenza-es-table.umd.js +6 -2
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +7 -3
- package/fesm2015/esfaenza-es-table.js +6 -2
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -3864,7 +3864,9 @@ class EsTableComponent {
|
|
|
3864
3864
|
if (updatedPrefs) {
|
|
3865
3865
|
this.View.columns = (prefs === null || prefs === void 0 ? void 0 : prefs.columns) || [];
|
|
3866
3866
|
this.View.column_ordering = (prefs === null || prefs === void 0 ? void 0 : prefs.column_ordering) || [];
|
|
3867
|
-
|
|
3867
|
+
// Se le pref sono nulle non sovrascrivo gli ordini dato che potrebbe servire mettere degli ordinamenti di default lato ts
|
|
3868
|
+
if (prefs)
|
|
3869
|
+
this.View.orders = (prefs === null || prefs === void 0 ? void 0 : prefs.orders) || [];
|
|
3868
3870
|
}
|
|
3869
3871
|
}
|
|
3870
3872
|
}
|
|
@@ -3912,7 +3914,9 @@ class EsTableComponent {
|
|
|
3912
3914
|
if (updatedPrefs) {
|
|
3913
3915
|
this.View.columns = (prefs === null || prefs === void 0 ? void 0 : prefs.columns) || [];
|
|
3914
3916
|
this.View.column_ordering = (prefs === null || prefs === void 0 ? void 0 : prefs.column_ordering) || [];
|
|
3915
|
-
|
|
3917
|
+
// Se le pref sono nulle non sovrascrivo gli ordini dato che potrebbe servire mettere degli ordinamenti di default lato ts
|
|
3918
|
+
if (prefs)
|
|
3919
|
+
this.View.orders = (prefs === null || prefs === void 0 ? void 0 : prefs.orders) || [];
|
|
3916
3920
|
}
|
|
3917
3921
|
}
|
|
3918
3922
|
}
|