Skip to content

Commit

Permalink
CLMS-BUG-COUNTRIES-DOWNLOAD (bug): countries radio button for areas o…
Browse files Browse the repository at this point in the history
…utside of europe fixed. removed a commented line
  • Loading branch information
ujbolivar committed May 27, 2024
1 parent 7a1dead commit 6197c7d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/MapViewer/MenuWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ 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 {
Expand Down

0 comments on commit 6197c7d

Please sign in to comment.