Skip to content

Commit

Permalink
CLMS-3246 (bug): Area measurement dropdown button now loads the widge…
Browse files Browse the repository at this point in the history
…t information for area measurement correctly on first click
  • Loading branch information
ujbolivar committed Jun 11, 2024
1 parent e984098 commit cdd501c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MapViewer/MeasurementWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class MeasurementWidget extends React.Component {
// By invoking the setState, we notify the state we want to reach
// and ensure that the component is rendered again
this.setState({ showMapMenu: true });
this.areaMeasurement();
//this.areaMeasurement();
document
.querySelector('#measurement_area .ccl-expandable__button')
.nextElementSibling.appendChild(
Expand Down

0 comments on commit cdd501c

Please sign in to comment.