@open-mercato/ui 0.6.6-develop.6339.1.193c6c7c71 → 0.6.6-develop.6343.1.8120f84f30
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/dist/backend/CrudForm.js
CHANGED
|
@@ -253,7 +253,7 @@ function normalizeDirtySnapshotValue(value) {
|
|
|
253
253
|
if (prototype !== Object.prototype && prototype !== null) return value;
|
|
254
254
|
const normalized = {};
|
|
255
255
|
const record = value;
|
|
256
|
-
for (const key of Object.keys(record).sort()) {
|
|
256
|
+
for (const key of Object.keys(record).sort((a, b) => a < b ? -1 : a > b ? 1 : 0)) {
|
|
257
257
|
const nextValue = normalizeDirtySnapshotValue(record[key]);
|
|
258
258
|
if (nextValue !== void 0) normalized[key] = nextValue;
|
|
259
259
|
}
|