@porscheinformatik/clr-addons 19.22.0 → 19.22.1
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/fesm2022/clr-addons.mjs
CHANGED
|
@@ -12287,7 +12287,9 @@ class StatePersistenceKeyDirective {
|
|
|
12287
12287
|
}
|
|
12288
12288
|
initColumnOrder(savedState) {
|
|
12289
12289
|
if (savedState?.columns) {
|
|
12290
|
-
const entries = Object.entries(savedState.columns)
|
|
12290
|
+
const entries = Object.entries(savedState.columns)
|
|
12291
|
+
.filter(([, value]) => typeof value.order === 'number')
|
|
12292
|
+
.map(([key, value]) => [key, value.order]);
|
|
12291
12293
|
this.reorderDirective.initializeColumnOrder(Object.fromEntries(entries));
|
|
12292
12294
|
}
|
|
12293
12295
|
}
|