@eeacms/volto-arcgis-block 0.1.363 → 0.1.364

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.364](https://github.com/eea/volto-arcgis-block/compare/0.1.363...0.1.364) - 28 May 2025
8
+
7
9
  ### [0.1.363](https://github.com/eea/volto-arcgis-block/compare/0.1.362...0.1.363) - 26 May 2025
8
10
 
9
11
  ### [0.1.362](https://github.com/eea/volto-arcgis-block/compare/0.1.361...0.1.362) - 21 May 2025
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.363",
3
+ "version": "0.1.364",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -4000,7 +4000,7 @@ class MenuWidget extends React.Component {
4000
4000
  if (elem.id === layerId) {
4001
4001
  this.timeLayers[elem.id] = ['fas', 'stop'];
4002
4002
  if (
4003
- this.visibleLayers[elem.id] &&
4003
+ !this.visibleLayers[elem.id] ||
4004
4004
  this.visibleLayers[elem.id][1] === 'eye-slash'
4005
4005
  ) {
4006
4006
  this.layers[elem.id].visible = true;
@@ -4398,7 +4398,7 @@ class MenuWidget extends React.Component {
4398
4398
  this.findCheckedDataset(elem);
4399
4399
  }
4400
4400
  if (
4401
- this.visibleLayers[elem.id] &&
4401
+ !this.visibleLayers[elem.id] ||
4402
4402
  this.visibleLayers[elem.id][1] === 'eye'
4403
4403
  ) {
4404
4404
  this.layers[elem.id].visible = false;