@overmap-ai/blocks 1.0.27-custom-table-component.2 → 1.0.27-custom-table-component.3
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/blocks.js +2 -0
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +2 -0
- package/dist/blocks.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/blocks.umd.cjs
CHANGED
|
@@ -4029,6 +4029,8 @@
|
|
|
4029
4029
|
return sortDirection === "asc" ? -1 : 1;
|
|
4030
4030
|
} else if (!!valueA && !valueB) {
|
|
4031
4031
|
return sortDirection === "asc" ? 1 : -1;
|
|
4032
|
+
} else if (!valueA || !valueB) {
|
|
4033
|
+
return 0;
|
|
4032
4034
|
}
|
|
4033
4035
|
if (typeof valueA === "number" && typeof valueB === "number") {
|
|
4034
4036
|
return sortDirection === "asc" ? valueA - valueB : valueB - valueA;
|