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.js CHANGED
@@ -65516,7 +65516,7 @@ const HeaderTableCol = (props) => {
65516
65516
  const headerRef = React$5.useRef(null);
65517
65517
  const order = orderBy.find((item) => item.key === col.field);
65518
65518
  const [openFilter, setOpenFilter] = React$5.useState(false);
65519
- const filter = filterBy.find((item) => item.key === col.field);
65519
+ const filter = filterBy.find((item) => item.key === (col.fieldFilter ?? col.field));
65520
65520
  const handleResize = (e, { size }) => {
65521
65521
  // Update the column width here
65522
65522
  // You might need to update the state or call a callback to update the width