react-better-html 1.1.215 → 1.1.216
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8431,7 +8431,7 @@ var TableComponent = forwardRef15(function Table({
|
|
|
8431
8431
|
}, [data, checkedItems]);
|
|
8432
8432
|
const possibleFilterListValues = useMemo9(() => {
|
|
8433
8433
|
if (!openedFilterColumn || openedFilterColumn.filter !== "list") return [];
|
|
8434
|
-
return openedFilterColumn.list.map((item) => ({
|
|
8434
|
+
return openedFilterColumn.list.filter((item) => item !== void 0).map((item) => ({
|
|
8435
8435
|
...item,
|
|
8436
8436
|
count: data.reduce((previousValue, currentValue) => {
|
|
8437
8437
|
const value = openedFilterColumn.getItemValue?.(currentValue) ?? (openedFilterColumn.type === "text" && openedFilterColumn.keyName ? String(currentValue[openedFilterColumn.keyName]) : "");
|