Interactive interface for browsing global, full-resolution satellite imagery
convert true/false back to 1/0 to set select option element
Jason Kent546e27e69853
diff --git a/web/js/components/image-download/panel.js b/web/js/components/image-download/panel.jsindex 3e1bc3c7b..72507e907 100644--- a/web/js/components/image-download/panel.js+++ b/web/js/components/image-download/panel.js@@ -118,16 +118,18 @@ export default class ImageResSelection extends React.Component {_renderWorldfileSelect() {if (this.props.worldFileOptions) {+ const value = this.state.isWorldfile ? 1 : 0;+return (<div className="wv-image-header">{this.state.fileType === 'image/kmz' ? (<select disabled>- <option value={false}>No</option>+ <option value={0}>No</option></select>) : (<selectid="wv-image-worldfile"- value={this.state.isWorldfile}+ value={value}onChange={e => this.handleChange('worldfile', e.target.value)}><option value={0}>No</option>