Skip to content

Commit

Permalink
Merge pull request #782 from eea/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ujbolivar committed Jun 14, 2024
2 parents e2b8d49 + abfdb76 commit 32cb538
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ 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.287](https://github.com/eea/volto-arcgis-block/compare/0.1.286...0.1.287) - 13 June 2024
### [0.1.288](https://github.com/eea/volto-arcgis-block/compare/0.1.287...0.1.288) - 14 June 2024

#### :hammer_and_wrench: Others

- CLMS-270731 (Feat): Prepackage option added [Urkorue - [`13c5f1b`](https://github.com/eea/volto-arcgis-block/commit/13c5f1ba0d214de14c0a9feffdb18cc18d972b10)]
- CLMS-3294 (feat): Hotspot filter dropdowns reset when selecting a bookmark with an unfilter hotspot dataset [Unai Bolivar - [`5011318`](https://github.com/eea/volto-arcgis-block/commit/501131884e9898fca41ec18f6e3ce5ccaa686042)]
### [0.1.287](https://github.com/eea/volto-arcgis-block/compare/0.1.286...0.1.287) - 13 June 2024

### [0.1.286](https://github.com/eea/volto-arcgis-block/compare/0.1.285...0.1.286) - 11 June 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.287",
"version": "0.1.288",
"description": "volto-arcgis-block: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: CodeSyntax",
Expand Down
9 changes: 9 additions & 0 deletions src/components/MapViewer/HotspotWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,15 @@ class HotspotWidget extends React.Component {
this.renderApplyFilterButton();
localStorage.setItem('bookmarkHotspotFilter', null);
}, 2000);
} else if (
bookmarkHotspotFilter !== null &&
Object.keys(bookmarkHotspotFilter?.filteredLayers).length === 0 &&
this.props.bookmarkData.active === true
) {
this.lcYear = null;
this.lccYear = null;
this.selectedArea = null;
this.setState({ lcYear: null, lccYear: null, selectedArea: null });
}
this.setState({
activeLayersArray: Array.from(
Expand Down

0 comments on commit 32cb538

Please sign in to comment.