react-table-edit 1.4.30 → 1.4.31

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.mjs CHANGED
@@ -65488,7 +65488,7 @@ const HeaderTableCol = (props) => {
65488
65488
  const headerRef = useRef(null);
65489
65489
  const order = orderBy.find((item) => item.key === col.field);
65490
65490
  const [openFilter, setOpenFilter] = useState(false);
65491
- const filter = filterBy.find((item) => item.key === col.field);
65491
+ const filter = filterBy.find((item) => item.key === (col.fieldFilter ?? col.field));
65492
65492
  const handleResize = (e, { size }) => {
65493
65493
  // Update the column width here
65494
65494
  // You might need to update the state or call a callback to update the width