Skip to content

Commit

Permalink
#10136: Search for Map CRS coordinates
Browse files Browse the repository at this point in the history
Description:
- resolve review comments
  • Loading branch information
mahmoudadel54 committed May 6, 2024
1 parent 8e0da7c commit ec302da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ class CoordinateEntry extends React.Component {
}

render() {
const {format, owner} = this.props;
const {format, owner, currentMapCRS} = this.props;
return format === "decimal" || isNil(format) ?
owner === 'search' ? <DecimalCoordinateEditorSearch {...this.props} format={this.props.format || "decimal"}/> : <DecimalCoordinateEditor {...this.props} format={this.props.format || "decimal"}/> :
owner === 'search' && currentMapCRS ? <DecimalCoordinateEditorSearch {...this.props} format={this.props.format || "decimal"}/> : <DecimalCoordinateEditor {...this.props} format={this.props.format || "decimal"}/> :
<AeronauticalCoordinateEditor {...this.props}/>;
}
}
Expand Down

0 comments on commit ec302da

Please sign in to comment.