@eeacms/volto-arcgis-block 0.1.362 → 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,10 +4,15 @@ 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
+
9
+ ### [0.1.363](https://github.com/eea/volto-arcgis-block/compare/0.1.362...0.1.363) - 26 May 2025
10
+
7
11
  ### [0.1.362](https://github.com/eea/volto-arcgis-block/compare/0.1.361...0.1.362) - 21 May 2025
8
12
 
9
13
  #### :hammer_and_wrench: Others
10
14
 
15
+ - Merge pull request #956 from eea/develop [Unai Bolivar - [`b230060`](https://github.com/eea/volto-arcgis-block/commit/b230060ba6a428ced1b613f26c5dbc1f04cf5bee)]
11
16
  - CLMS-286372 (bug): Fixed syntax errors and removed old commented code in MenuWidget and Area widget upload service. [Unai Bolivar - [`bea1116`](https://github.com/eea/volto-arcgis-block/commit/bea1116c14d09dd10f6da0a34e36f6796780645f)]
12
17
  - CLMS-286372 (bug): Fixed issues with Area widget upload service. [Unai Bolivar - [`a66e6c6`](https://github.com/eea/volto-arcgis-block/commit/a66e6c69ef4d79dc265f4a17462a8f29df7aeee1)]
13
18
  ### [0.1.361](https://github.com/eea/volto-arcgis-block/compare/0.1.360...0.1.361) - 20 May 2025
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.362",
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",
@@ -3813,6 +3813,7 @@ class MenuWidget extends React.Component {
3813
3813
  <Popup
3814
3814
  trigger={<FontAwesomeIcon icon={this.visibleLayers[elem.id]} />}
3815
3815
  content={
3816
+ this.visibleLayers[elem.id] &&
3816
3817
  this.visibleLayers[elem.id][1] === 'eye'
3817
3818
  ? 'Hide layer'
3818
3819
  : 'Show layer'
@@ -3998,7 +3999,10 @@ class MenuWidget extends React.Component {
3998
3999
  }
3999
4000
  if (elem.id === layerId) {
4000
4001
  this.timeLayers[elem.id] = ['fas', 'stop'];
4001
- if (this.visibleLayers[elem.id][1] === 'eye-slash') {
4002
+ if (
4003
+ !this.visibleLayers[elem.id] ||
4004
+ this.visibleLayers[elem.id][1] === 'eye-slash'
4005
+ ) {
4002
4006
  this.layers[elem.id].visible = true;
4003
4007
  this.visibleLayers[elem.id] = ['fas', 'eye'];
4004
4008
  }
@@ -4394,7 +4398,7 @@ class MenuWidget extends React.Component {
4394
4398
  this.findCheckedDataset(elem);
4395
4399
  }
4396
4400
  if (
4397
- this.visibleLayers[elem.id] &&
4401
+ !this.visibleLayers[elem.id] ||
4398
4402
  this.visibleLayers[elem.id][1] === 'eye'
4399
4403
  ) {
4400
4404
  this.layers[elem.id].visible = false;