@eeacms/volto-arcgis-block 0.1.371 → 0.1.372

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,11 @@ 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.372](https://github.com/eea/volto-arcgis-block/compare/0.1.371...0.1.372) - 26 June 2025
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - (bug): Fixed crash that occurs when a search is made and the map used after it. [Unai Bolivar - [`83bc494`](https://github.com/eea/volto-arcgis-block/commit/83bc494dfa65e33cf499ca58daf0e1a22bdcdc64)]
7
12
  ### [0.1.371](https://github.com/eea/volto-arcgis-block/compare/0.1.370...0.1.371) - 25 June 2025
8
13
 
9
14
  #### :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.371",
3
+ "version": "0.1.372",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -1290,9 +1290,14 @@ class MenuWidget extends React.Component {
1290
1290
  this.DatasetFamilies[dataset.FamilyTitle].push(dataset);
1291
1291
  } else {
1292
1292
  if (this.filtersApplied) {
1293
- dataset_def = document
1293
+ const defcheckValue = document
1294
1294
  .querySelector('#' + checkProduct)
1295
1295
  ?.getAttribute('defcheck');
1296
+ if (defcheckValue) {
1297
+ dataset_def = defcheckValue
1298
+ .split(',')
1299
+ .filter((id) => id.trim() !== '');
1300
+ }
1296
1301
  } else if (
1297
1302
  dataset &&
1298
1303
  dataset.Default_active === true &&