mig-schema-table 3.0.91 → 3.0.92

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.
@@ -551,15 +551,7 @@ function SchemaTable({ Heading = VariableSizeList, checkedIndexes, config, custo
551
551
  // prevent hash change for undefined vs empty string compare
552
552
  (searchQuery || locationHash.searchQuery) &&
553
553
  searchQuery !== locationHash.searchQuery) {
554
- const currentLocationHref = window.location.href;
555
- // use setTimeout() so any button clickhandler is still executed before the hash is changed
556
- setTimeout(() => {
557
- // Did we not move away? Apply search info to location.hash
558
- if (currentLocationHref === window.location.href) {
559
- window.location.hash = serializeLocationHash(Object.assign(Object.assign({}, locationHash), { searchQuery }));
560
- }
561
- // 1 is not enough?!
562
- }, 400);
554
+ window.location.hash = serializeLocationHash(Object.assign(Object.assign({}, locationHash), { searchQuery }));
563
555
  }
564
556
  }, [locationHash, searchQuery, useFilterStateHash]);
565
557
  const onExportDataClick = React.useCallback((e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mig-schema-table",
3
- "version": "3.0.91",
3
+ "version": "3.0.92",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist/"