Publishing fix #358
3 changed files with 9 additions and 10 deletions
|
@ -25,6 +25,8 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
||||||
* Fixed inappropriate text showing on searches
|
* Fixed inappropriate text showing on searches
|
||||||
* Stop discover page from pushing jumping vertically while loading
|
* Stop discover page from pushing jumping vertically while loading
|
||||||
* Restored feedback on claim amounts
|
* Restored feedback on claim amounts
|
||||||
|
* Fixed hiding price input when Free is checked on publish form
|
||||||
|
* Fixed hiding new identity fields on publish form
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
*
|
*
|
||||||
|
|
|
@ -93,6 +93,7 @@ class ChannelSection extends React.PureComponent {
|
||||||
"This LBC remains yours and the deposit can be undone at any time."
|
"This LBC remains yours and the deposit can be undone at any time."
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const channel = this.state.addingChannel ? "new" : this.props.channel;
|
||||||
const { fetchingChannels, channels = [] } = this.props;
|
const { fetchingChannels, channels = [] } = this.props;
|
||||||
|
|
||||||
let channelContent = [];
|
let channelContent = [];
|
||||||
|
@ -102,7 +103,7 @@ class ChannelSection extends React.PureComponent {
|
||||||
type="select"
|
type="select"
|
||||||
tabIndex="1"
|
tabIndex="1"
|
||||||
onChange={this.handleChannelChange.bind(this)}
|
onChange={this.handleChannelChange.bind(this)}
|
||||||
value={this.props.channel}
|
value={channel}
|
||||||
>
|
>
|
||||||
<option key="anonymous" value="anonymous">
|
<option key="anonymous" value="anonymous">
|
||||||
{__("Anonymous")}
|
{__("Anonymous")}
|
||||||
|
@ -137,9 +138,7 @@ class ChannelSection extends React.PureComponent {
|
||||||
<FormRow
|
<FormRow
|
||||||
label={__("Name")}
|
label={__("Name")}
|
||||||
type="text"
|
type="text"
|
||||||
onChange={event => {
|
onChange={this.handleNewChannelNameChange.bind(this)}
|
||||||
this.handleNewChannelNameChange(event);
|
|
||||||
}}
|
|
||||||
value={this.state.newChannelName}
|
value={this.state.newChannelName}
|
||||||
/>
|
/>
|
||||||
<FormRow
|
<FormRow
|
||||||
|
|
|
@ -42,6 +42,7 @@ class PublishForm extends React.PureComponent {
|
||||||
submitting: false,
|
submitting: false,
|
||||||
creatingChannel: false,
|
creatingChannel: false,
|
||||||
modal: null,
|
modal: null,
|
||||||
|
isFee: false,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -635,11 +636,8 @@ class PublishForm extends React.PureComponent {
|
||||||
label={__("Free")}
|
label={__("Free")}
|
||||||
type="radio"
|
type="radio"
|
||||||
name="isFree"
|
name="isFree"
|
||||||
value="1"
|
onChange={() => this.handleFeePrefChange(false)}
|
||||||
onChange={() => {
|
checked={!this.state.isFee}
|
||||||
this.handleFeePrefChange(false);
|
|
||||||
}}
|
|
||||||
defaultChecked={!this.state.isFee}
|
|
||||||
/>
|
/>
|
||||||
<FormField
|
<FormField
|
||||||
type="radio"
|
type="radio"
|
||||||
|
@ -648,7 +646,7 @@ class PublishForm extends React.PureComponent {
|
||||||
onChange={() => {
|
onChange={() => {
|
||||||
this.handleFeePrefChange(true);
|
this.handleFeePrefChange(true);
|
||||||
}}
|
}}
|
||||||
defaultChecked={this.state.isFee}
|
checked={this.state.isFee}
|
||||||
/>
|
/>
|
||||||
<span className={!this.state.isFee ? "hidden" : ""}>
|
<span className={!this.state.isFee ? "hidden" : ""}>
|
||||||
<FormField
|
<FormField
|
||||||
|
|
Loading…
Reference in a new issue