From d33b1c49db049cea24bad1ba837efc755eb2851c Mon Sep 17 00:00:00 2001 From: jessop Date: Fri, 17 Apr 2020 08:47:59 -0400 Subject: [PATCH] fix cold reload on channel select --- ui/component/selectChannel/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/component/selectChannel/view.jsx b/ui/component/selectChannel/view.jsx index 8813feff6..9e554c70f 100644 --- a/ui/component/selectChannel/view.jsx +++ b/ui/component/selectChannel/view.jsx @@ -47,8 +47,8 @@ class ChannelSelection extends React.PureComponent { } componentDidUpdate() { - const { channels } = this.props; - if (!channels) { + const { channels, fetchingChannels } = this.props; + if (!fetchingChannels && !channels) { this.setState({ addingChannel: true }); } }