@apexcura/ui-components 0.0.11-Beta204 → 0.0.11-Beta205
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -644,7 +644,7 @@ var TableElement = (props) => {
|
|
|
644
644
|
if (typeof a[col.key] === "number" && typeof a[col.key] === "number") {
|
|
645
645
|
return a[col.key] - b[col.key];
|
|
646
646
|
} else if (typeof a[col.key] === "string" && typeof a[col.key] === "string") {
|
|
647
|
-
return a[col.key].
|
|
647
|
+
return a[col.key].localeCompare(b[col.key]);
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -593,7 +593,7 @@ var TableElement = (props) => {
|
|
|
593
593
|
if (typeof a[col.key] === "number" && typeof a[col.key] === "number") {
|
|
594
594
|
return a[col.key] - b[col.key];
|
|
595
595
|
} else if (typeof a[col.key] === "string" && typeof a[col.key] === "string") {
|
|
596
|
-
return a[col.key].
|
|
596
|
+
return a[col.key].localeCompare(b[col.key]);
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
}
|