diff --git a/CHANGELOG.md b/CHANGELOG.md index faff9d96a..bace21be7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix 'transcoding' checkbox state when switching file types _community pr!_ ([#4529](https://github.com/lbryio/lbry-desktop/pull/4529)) - Fix channel file-search not available in mobile _community pr!_ ([#4527](https://github.com/lbryio/lbry-desktop/pull/4527)) +- New Channel: Fix incorrect GUI configuration at entry _community pr!_ ([#4545](https://github.com/lbryio/lbry-desktop/pull/4545)) ## [0.47.0] - [2020-07-13] diff --git a/ui/component/selectChannel/view.jsx b/ui/component/selectChannel/view.jsx index f864b5899..6c8237781 100644 --- a/ui/component/selectChannel/view.jsx +++ b/ui/component/selectChannel/view.jsx @@ -28,7 +28,7 @@ class ChannelSelection extends React.PureComponent { super(props); this.state = { - addingChannel: false, + addingChannel: props.channel === CHANNEL_NEW, }; (this: any).handleChannelChange = this.handleChannelChange.bind(this); @@ -77,7 +77,7 @@ class ChannelSelection extends React.PureComponent { } render() { - const channel = this.state.addingChannel ? 'new' : this.props.channel; + const channel = this.state.addingChannel ? CHANNEL_NEW : this.props.channel; const { fetchingChannels, channels = [], hideAnon, hideNew, label, injected = [] } = this.props; const { addingChannel } = this.state;