mig-schema-table 3.0.43 → 3.0.44

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.
@@ -312,8 +312,11 @@ function SchemaTable({ Heading = VariableSizeList, checkedIndexes, disabledCheck
312
312
  const disableColumnFilter = React.useCallback((propName) => {
313
313
  const newColumnFilterMap = Object.assign({}, columnFilterMap);
314
314
  delete newColumnFilterMap[propName];
315
+ if (data instanceof Function) {
316
+ setIsDirty(true);
317
+ }
315
318
  setColumnFilterMap(newColumnFilterMap);
316
- }, [columnFilterMap]);
319
+ }, [columnFilterMap, data]);
317
320
  const onSetSortColumn = React.useCallback((x) => {
318
321
  if (data instanceof Function) {
319
322
  setIsDirty(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mig-schema-table",
3
- "version": "3.0.43",
3
+ "version": "3.0.44",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist/"