react-better-html 1.1.179 → 1.1.180
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7939,8 +7939,8 @@ var TableComponent = (0, import_react25.forwardRef)(function Table({
|
|
|
7939
7939
|
});
|
|
7940
7940
|
const [openedFilterColumnIndex, setOpenedFilterColumnIndex] = (0, import_react25.useState)();
|
|
7941
7941
|
const [filterListSelectedItems, setFilterListSelectedItems] = (0, import_react25.useState)();
|
|
7942
|
-
const openedFilterData = openedFilterColumnIndex ? filterData[openedFilterColumnIndex] : void 0;
|
|
7943
|
-
const openedFilterColumn = openedFilterColumnIndex ? readyColumns[openedFilterColumnIndex] : void 0;
|
|
7942
|
+
const openedFilterData = openedFilterColumnIndex !== void 0 ? filterData[openedFilterColumnIndex] : void 0;
|
|
7943
|
+
const openedFilterColumn = openedFilterColumnIndex !== void 0 ? readyColumns[openedFilterColumnIndex] : void 0;
|
|
7944
7944
|
const filterForm = useForm({
|
|
7945
7945
|
defaultValues: {
|
|
7946
7946
|
min: void 0,
|