@eeacms/volto-arcgis-block 0.1.358 → 0.1.359

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/CHANGELOG.md CHANGED
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [0.1.359](https://github.com/eea/volto-arcgis-block/compare/0.1.358...0.1.359) - 16 May 2025
8
+
7
9
  ### [0.1.358](https://github.com/eea/volto-arcgis-block/compare/0.1.357...0.1.358) - 14 May 2025
8
10
 
9
11
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.358",
3
+ "version": "0.1.359",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -4500,9 +4500,13 @@ class MenuWidget extends React.Component {
4500
4500
  });
4501
4501
  }, 0);
4502
4502
  }
4503
+ let url = new URL(window.location.href);
4504
+ let product = url.searchParams.get('product');
4505
+ let dataset = url.searchParams.get('dataset');
4503
4506
  if (
4504
4507
  this.state.wmsUserServiceLayers.length > 0 &&
4505
- prevState.wmsUserServiceLayers.length === 0
4508
+ prevState.wmsUserServiceLayers.length === 0 &&
4509
+ !(product || dataset)
4506
4510
  ) {
4507
4511
  // Close other tabs and open "My Services" tab
4508
4512
  let dropdownsMapMenu = document.querySelectorAll('.map-menu-dropdown');