@monolith-forensics/monolith-ui 1.2.23 → 1.2.25

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.
@@ -390,6 +390,10 @@ const TableProvider = (_a) => {
390
390
  return 0;
391
391
  }
392
392
  };
393
+ // sync column state with columns when columns change length
394
+ useEffect(() => {
395
+ syncColumnState(_columns, savedColumnState);
396
+ }, [_columns]);
393
397
  useEffect(() => {
394
398
  var _a;
395
399
  (_a = props.onColumnStateChange) === null || _a === void 0 ? void 0 : _a.call(props, columnState);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.2.23",
3
+ "version": "1.2.25",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",