mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 17:31:27 +00:00
fix for anonymous edit
This commit is contained in:
parent
7a5f3c606d
commit
dd5aada7ec
1 changed files with 5 additions and 4 deletions
|
@ -418,14 +418,15 @@ class PublishForm extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillMount() {
|
componentWillMount() {
|
||||||
const { name, channel } = this.props.params;
|
let { name, channel } = this.props.params;
|
||||||
const rawName = name;
|
|
||||||
|
channel = channel || this.state.channel;
|
||||||
|
|
||||||
this.props.fetchClaimListMine();
|
this.props.fetchClaimListMine();
|
||||||
this._updateChannelList();
|
this._updateChannelList();
|
||||||
|
|
||||||
if (name && channel) {
|
if (name) {
|
||||||
this.setState({ name, rawName, channel });
|
this.setState({ name, rawName: name, channel });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue