Skip to content

Commit

Permalink
Merge pull request #772 from eea/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ujbolivar committed May 27, 2024
2 parents 15bca68 + e984098 commit 3f8b864
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [0.1.283](https://github.com/eea/volto-arcgis-block/compare/0.1.282...0.1.283) - 27 May 2024

#### :hammer_and_wrench: Others

- CLMS-BUG-COUNTRIES-DOWNLOAD (bug): countries radio button for areas outside of europe fixed. removed a commented line [Unai Bolivar - [`6197c7d`](https://github.com/eea/volto-arcgis-block/commit/6197c7ddb80b7e796d3e9800e7c652f6839009bc)]
- CLMS-BUG-COUNTRIES-DOWNLOAD (bug): countries radio button for areas outside of europe fixed [Unai Bolivar - [`7a1dead`](https://github.com/eea/volto-arcgis-block/commit/7a1deada9c70158f24fd799385544b43f3ab76bf)]
### [0.1.282](https://github.com/eea/volto-arcgis-block/compare/0.1.281...0.1.282) - 27 May 2024

### [0.1.281](https://github.com/eea/volto-arcgis-block/compare/0.1.280...0.1.281) - 21 May 2024
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-arcgis-block",
"version": "0.1.282",
"version": "0.1.283",
"description": "volto-arcgis-block: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: CodeSyntax",
Expand Down
2 changes: 1 addition & 1 deletion src/components/MapViewer/MenuWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const AddCartItem = ({
if (areaData) {
area.type = 'nuts';
if (areaData.geometry.type === 'polygon') {
if ('countries'.includes(areaData.layer.id)) {
if (areaData.attributes.ISO_2DIGIT !== undefined) {
area.value = areaData.attributes.ISO_2DIGIT;
} else {
area.value = areaData.attributes.NUTS_ID;
Expand Down

0 comments on commit 3f8b864

Please sign in to comment.