@eeacms/volto-arcgis-block 0.1.218 → 0.1.219

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,7 +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.218](https://github.com/eea/volto-arcgis-block/compare/0.1.217...0.1.218) - 23 October 2023
7
+ ### [0.1.219](https://github.com/eea/volto-arcgis-block/compare/0.1.218...0.1.219) - 24 October 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Add to cart button disabled if area of interest is no allowed [masanchez85 - [`5682616`](https://github.com/eea/volto-arcgis-block/commit/5682616ce95f62fb61461e8950866902bb8efc26)]
12
+ ### [0.1.218](https://github.com/eea/volto-arcgis-block/compare/0.1.217...0.1.218) - 24 October 2023
8
13
 
9
14
  ### [0.1.217](https://github.com/eea/volto-arcgis-block/compare/0.1.216...0.1.217) - 23 October 2023
10
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.218",
3
+ "version": "0.1.219",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -107,7 +107,11 @@ export const AddCartItem = ({
107
107
  ) {
108
108
  document.getElementById('products_label').click();
109
109
  } else {
110
- if (areaData) {
110
+ if (
111
+ areaData &&
112
+ document.querySelector('.drawRectanglePopup-block').style
113
+ .display === 'none'
114
+ ) {
111
115
  checkArea(e);
112
116
  }
113
117
  }