Skip to content

Commit

Permalink
Added fix for geosolutions-it#9606
Browse files Browse the repository at this point in the history
  • Loading branch information
diegovargasg committed Oct 16, 2023
1 parent 6856256 commit b17eb04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class CoordinatesEditor extends React.Component {
if (this.isValid(this.props.components, radius )) {
this.props.onChangeRadius(parseFloat(radius), this.props.components.map(coordToArray), uom);
} else if (radius !== "") {
this.props.onChangeRadius(parseFloat(radius), [], uom);
this.props.onChangeRadius(parseFloat(radius), [[0, 0]], uom);
} else {
this.props.onChangeRadius(null, this.props.components.map(coordToArray), uom);
this.props.onSetInvalidSelected("radius", this.props.components.map(coordToArray));
Expand Down

0 comments on commit b17eb04

Please sign in to comment.