Properly set default currency
This commit is contained in:
parent
3d20bc22aa
commit
761ba6f1e2
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ var PublishPage = React.createClass({
|
||||||
name: '',
|
name: '',
|
||||||
bid: '',
|
bid: '',
|
||||||
feeAmount: '',
|
feeAmount: '',
|
||||||
feeCurrency: '',
|
feeCurrency: 'USD',
|
||||||
nameResolved: false,
|
nameResolved: false,
|
||||||
claimValue: 0.0,
|
claimValue: 0.0,
|
||||||
fileInfo: null,
|
fileInfo: null,
|
||||||
|
@ -285,7 +285,7 @@ var PublishPage = React.createClass({
|
||||||
<FormField type="radio" onChange={ () => { this.handleFeePrefChange(true) } } checked={this.state.isFee} /> { !this.state.isFee ? 'Choose fee...' : 'Fee ' }
|
<FormField type="radio" onChange={ () => { this.handleFeePrefChange(true) } } checked={this.state.isFee} /> { !this.state.isFee ? 'Choose fee...' : 'Fee ' }
|
||||||
<span className={!this.state.isFee ? 'hidden' : ''}>
|
<span className={!this.state.isFee ? 'hidden' : ''}>
|
||||||
<FormField type="text" onChange={this.handleFeeAmountChange} style={publishNumberStyle} /> <FormField type="select" onChange={this.handleFeeCurrencyChange}>
|
<FormField type="text" onChange={this.handleFeeAmountChange} style={publishNumberStyle} /> <FormField type="select" onChange={this.handleFeeCurrencyChange}>
|
||||||
<option value="USD">dollars</option>
|
<option value="USD">US Dollars</option>
|
||||||
<option value="LBC">LBRY credits</option>
|
<option value="LBC">LBRY credits</option>
|
||||||
</FormField>
|
</FormField>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue