Skip to content

Commit

Permalink
Merge pull request #775 from eea/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ujbolivar committed Jun 7, 2024
2 parents 3f8b864 + e07f40f commit 173d253
Show file tree
Hide file tree
Showing 4 changed files with 12 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.284](https://github.com/eea/volto-arcgis-block/compare/0.1.283...0.1.284) - 7 June 2024

#### :hammer_and_wrench: Others

- CLMS-3246 (bug): Legend opacity stays at 1 when bookmarks with lower opacity values for the layers is selected [Unai Bolivar - [`4fe4994`](https://github.com/eea/volto-arcgis-block/commit/4fe4994ca3d337adb63f44dbb08464368771df46)]
- CLMS-3294 (bug): go to extent works correctly for new hotspot filter requests after bookmarking an unfiltered hotspot layer [Unai Bolivar - [`3c9570c`](https://github.com/eea/volto-arcgis-block/commit/3c9570c40609e4d244e553e50c7f163569b49d40)]
### [0.1.283](https://github.com/eea/volto-arcgis-block/compare/0.1.282...0.1.283) - 27 May 2024

#### :hammer_and_wrench: Others
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.283",
"version": "0.1.284",
"description": "volto-arcgis-block: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: CodeSyntax",
Expand Down
5 changes: 4 additions & 1 deletion src/components/MapViewer/HotspotWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,10 @@ class HotspotWidget extends React.Component {
this.layers[key] = layersToAdd[key];
this.layers[key].visible = true;
});
if (bookmarkHotspotFilter === null) {
if (
bookmarkHotspotFilter === null ||
Object.keys(bookmarkHotspotFilter?.filteredLayers).length === 0
) {
this.setBBoxCoordinates(this.dataBBox);
}
//set sessionStorage value to keep the widget open
Expand Down
1 change: 1 addition & 0 deletions src/components/MapViewer/MenuWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3433,6 +3433,7 @@ class MenuWidget extends React.Component {
}
});
}
this.setLegendOpacity();
}

/**
Expand Down

0 comments on commit 173d253

Please sign in to comment.