@eeacms/volto-arcgis-block 0.1.453 → 0.1.454

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.454](https://github.com/eea/volto-arcgis-block/compare/0.1.453...0.1.454) - 8 June 2026
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - (feat): For 10m CDSE datasets, remove the message from the TOC menu once the correct zoom level has been reached [Unai Bolivar - [`f5a2f19`](https://github.com/eea/volto-arcgis-block/commit/f5a2f19e2ca8f8311bfcd69bbf90d14c168f0f9b)]
7
12
  ### [0.1.453](https://github.com/eea/volto-arcgis-block/compare/0.1.452...0.1.453) - 3 June 2026
8
13
 
9
14
  #### :house: Internal changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.453",
3
+ "version": "0.1.454",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -537,6 +537,24 @@ class MenuWidget extends React.Component {
537
537
  });
538
538
  }
539
539
  }
540
+ let zoomInMessageContainers = document.getElementsByClassName(
541
+ 'zoom-in-message-container',
542
+ );
543
+ let zoomInMessageContainersList = [...zoomInMessageContainers];
544
+ zoomInMessageContainersList.forEach((container) => {
545
+ if (container && container !== null) {
546
+ let nodes = [
547
+ ...document.getElementsByClassName('zoom-in-message-dataset'),
548
+ ];
549
+ nodes.forEach((node) => {
550
+ if (node && node !== null) {
551
+ if (node.innerText === 'Zoom in') {
552
+ node.style.display = zoom > 6 ? 'none' : 'block';
553
+ }
554
+ }
555
+ });
556
+ }
557
+ });
540
558
  if (!this.visibleLayers) this.visibleLayers = {};
541
559
  this.handleRasterVectorLegend();
542
560
  this.setState({});