Publish: Rename "None" new channel option to "Anonymous"
This commit is contained in:
parent
b599e5343c
commit
a9cb0abcc6
1 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ var PublishPage = React.createClass({
|
||||||
name: this.state.name,
|
name: this.state.name,
|
||||||
bid: parseFloat(this.state.bid),
|
bid: parseFloat(this.state.bid),
|
||||||
metadata: metadata,
|
metadata: metadata,
|
||||||
... this.state.channel != 'new' && this.state.channel != 'none' ? {channel_name: this.state.channel} : {},
|
... this.state.channel != 'new' && this.state.channel != 'anonymous' ? {channel_name: this.state.channel} : {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.refs.file.getValue() !== '') {
|
if (this.refs.file.getValue() !== '') {
|
||||||
|
@ -113,7 +113,7 @@ var PublishPage = React.createClass({
|
||||||
bid: '',
|
bid: '',
|
||||||
feeAmount: '',
|
feeAmount: '',
|
||||||
feeCurrency: 'USD',
|
feeCurrency: 'USD',
|
||||||
channel: 'none',
|
channel: 'anonymous',
|
||||||
newChannelName: '@',
|
newChannelName: '@',
|
||||||
newChannelBid: '',
|
newChannelBid: '',
|
||||||
nameResolved: false,
|
nameResolved: false,
|
||||||
|
@ -352,7 +352,7 @@ var PublishPage = React.createClass({
|
||||||
<h4>Channel</h4>
|
<h4>Channel</h4>
|
||||||
<div className="form-row">
|
<div className="form-row">
|
||||||
<FormField type="select" onChange={this.handleChannelChange} value={this.state.channel}>
|
<FormField type="select" onChange={this.handleChannelChange} value={this.state.channel}>
|
||||||
<option key="none" value="none">None</option>
|
<option key="anonymous" value="anonymous">Anonymous</option>
|
||||||
{this.state.channels.map(({name}) => <option key={name} value={name}>{name}</option>)}
|
{this.state.channels.map(({name}) => <option key={name} value={name}>{name}</option>)}
|
||||||
<option key="new" value="new">New channel...</option>
|
<option key="new" value="new">New channel...</option>
|
||||||
</FormField>
|
</FormField>
|
||||||
|
|
Loading…
Reference in a new issue