@eeacms/volto-arcgis-block 0.1.386 → 0.1.387

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.387](https://github.com/eea/volto-arcgis-block/compare/0.1.386...0.1.387) - 12 September 2025
8
+
7
9
  ### [0.1.386](https://github.com/eea/volto-arcgis-block/compare/0.1.385...0.1.386) - 12 September 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.386",
3
+ "version": "0.1.387",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -3924,7 +3924,6 @@ class MenuWidget extends React.Component {
3924
3924
 
3925
3925
  async fullExtent(elem) {
3926
3926
  this.url = this.layers[elem.id]?.url;
3927
- // const isCDSE = !!this.url && this.url.toLowerCase().includes('/ogc/');
3928
3927
  const isCDSE =
3929
3928
  !!this.url &&
3930
3929
  ['/ogc/', '/cdse/'].some((s) => this.url.toLowerCase().includes(s));
@@ -4777,6 +4776,10 @@ class MenuWidget extends React.Component {
4777
4776
  const isUserServiceLayer = this.state.wmsUserServiceLayers.some(
4778
4777
  (layer) => layer.LayerId === elem.id,
4779
4778
  );
4779
+ this.url = this.layers[elem.id]?.url;
4780
+ const isCDSE =
4781
+ !!this.url &&
4782
+ ['/ogc/', '/cdse/'].some((s) => this.url.toLowerCase().includes(s));
4780
4783
 
4781
4784
  // Only call findCheckedDataset for non-service layers (this method looks for parent datasets)
4782
4785
  if (!isUserServiceLayer) {
@@ -4828,6 +4831,7 @@ class MenuWidget extends React.Component {
4828
4831
  }
4829
4832
 
4830
4833
  if (
4834
+ !isCDSE &&
4831
4835
  !isUserServiceLayer &&
4832
4836
  this.productId &&
4833
4837
  this.productId.includes('333e4100b79045daa0ff16466ac83b7f')