@eeacms/volto-arcgis-block 0.1.342 → 0.1.343

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.343](https://github.com/eea/volto-arcgis-block/compare/0.1.342...0.1.343) - 20 March 2025
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Merge pull request #911 from eea/CLMS-DEMO-BUG-LAYERS-NOT-LOADING-AFTER-TOGGLING-CHECK [Unai Bolivar - [`0ab2532`](https://github.com/eea/volto-arcgis-block/commit/0ab25327fa4eea7b62035cd3ce6e5bee32eb6d01)]
12
+ - CLMS-DEMO (bug): Fixed lyers that didn't load on map view after toggleing their checks on [Unai Bolivar - [`a7eb001`](https://github.com/eea/volto-arcgis-block/commit/a7eb001979871dfce976dab786ed2d109bf41dfe)]
7
13
  ### [0.1.342](https://github.com/eea/volto-arcgis-block/compare/0.1.341...0.1.342) - 20 March 2025
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.342",
3
+ "version": "0.1.343",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -2432,8 +2432,7 @@ class MenuWidget extends React.Component {
2432
2432
  if (
2433
2433
  this.props.download ||
2434
2434
  this.location.search.includes('product=') ||
2435
- this.location.search.includes('dataset=') ||
2436
- !userService
2435
+ (this.location.search.includes('dataset=') && !userService)
2437
2436
  ) {
2438
2437
  if (
2439
2438
  this.extentInitiated === false &&
@@ -2446,8 +2445,8 @@ class MenuWidget extends React.Component {
2446
2445
  }
2447
2446
  }
2448
2447
  if (
2449
- ((elem.id.includes('all_lcc') || elem.id.includes('all_present')) &&
2450
- (this.layers['lc_filter'] || this.layers['lcc_filter'])) ||
2448
+ (elem.id.includes('all_lcc') || elem.id.includes('all_present')) &&
2449
+ (this.layers['lc_filter'] || this.layers['lcc_filter']) &&
2451
2450
  !userService
2452
2451
  ) {
2453
2452
  let bookmarkHotspotFilter = localStorage.getItem(
@@ -4099,7 +4098,7 @@ class MenuWidget extends React.Component {
4099
4098
  this.state.wmsUserServiceLayers.length > 0 &&
4100
4099
  prevState.wmsUserServiceLayers.length === 0
4101
4100
  ) {
4102
- // Close other tabs and open "My Services"
4101
+ // Close other tabs and open "My Services" tab
4103
4102
  let dropdownsMapMenu = document.querySelectorAll('.map-menu-dropdown');
4104
4103
  let i = dropdownsMapMenu.length - 1;
4105
4104
  // let j = 0;