Skip to content

Commit

Permalink
CLMS-2589 (BUG): Corrected hotspot filter search wwhen bookmark is se…
Browse files Browse the repository at this point in the history
…lected and not fiot filter search when bookmark is selected and no filters were applied
  • Loading branch information
ujbolivar committed May 9, 2024
1 parent d0372f8 commit eb1511c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/MapViewer/HotspotWidget.jsx
Expand Up @@ -939,9 +939,12 @@ class HotspotWidget extends React.Component {
bookmarkHotspotFilter = JSON.parse(
localStorage.getItem('bookmarkHotspotFilter'),
);
} else {
return;
}
if (
bookmarkHotspotFilter !== null &&
Object.keys(bookmarkHotspotFilter?.filteredLayers).length !== 0 &&
this.props.bookmarkData.active === true
) {
setTimeout(() => {
Expand Down

0 comments on commit eb1511c

Please sign in to comment.