mig-schema-table 3.0.70 → 3.0.71
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.
|
@@ -324,6 +324,12 @@ function SchemaTable({ Heading = VariableSizeList, checkedIndexes, config, custo
|
|
|
324
324
|
if (x === y) {
|
|
325
325
|
return 0;
|
|
326
326
|
}
|
|
327
|
+
if (!x) {
|
|
328
|
+
return sortAsc ? -1 : 1;
|
|
329
|
+
}
|
|
330
|
+
if (!y) {
|
|
331
|
+
return sortAsc ? 1 : -1;
|
|
332
|
+
}
|
|
327
333
|
return (x < y ? 1 : -1) * (sortAsc ? -1 : 1);
|
|
328
334
|
});
|
|
329
335
|
}, [
|