@eeacms/volto-arcgis-block 0.1.283 → 0.1.284

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,12 @@ 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.284](https://github.com/eea/volto-arcgis-block/compare/0.1.283...0.1.284) - 7 June 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - CLMS-3246 (bug): Legend opacity stays at 1 when bookmarks with lower opacity values for the layers is selected [Unai Bolivar - [`4fe4994`](https://github.com/eea/volto-arcgis-block/commit/4fe4994ca3d337adb63f44dbb08464368771df46)]
12
+ - CLMS-3294 (bug): go to extent works correctly for new hotspot filter requests after bookmarking an unfiltered hotspot layer [Unai Bolivar - [`3c9570c`](https://github.com/eea/volto-arcgis-block/commit/3c9570c40609e4d244e553e50c7f163569b49d40)]
7
13
  ### [0.1.283](https://github.com/eea/volto-arcgis-block/compare/0.1.282...0.1.283) - 27 May 2024
8
14
 
9
15
  #### :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.283",
3
+ "version": "0.1.284",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -422,7 +422,10 @@ class HotspotWidget extends React.Component {
422
422
  this.layers[key] = layersToAdd[key];
423
423
  this.layers[key].visible = true;
424
424
  });
425
- if (bookmarkHotspotFilter === null) {
425
+ if (
426
+ bookmarkHotspotFilter === null ||
427
+ Object.keys(bookmarkHotspotFilter?.filteredLayers).length === 0
428
+ ) {
426
429
  this.setBBoxCoordinates(this.dataBBox);
427
430
  }
428
431
  //set sessionStorage value to keep the widget open
@@ -3433,6 +3433,7 @@ class MenuWidget extends React.Component {
3433
3433
  }
3434
3434
  });
3435
3435
  }
3436
+ this.setLegendOpacity();
3436
3437
  }
3437
3438
 
3438
3439
  /**