Go Live: fix missing channel selector

If the active channel doesn't have 50 LBC support, we are stuck in the "you can't stream" state. But I have other channels that are eligible.
This commit is contained in:
infinite-persistence 2022-03-17 22:41:10 +08:00 committed by Thomas Zarebczan
parent 35f0777320
commit 74345da0fb

View file

@ -192,6 +192,15 @@ export default function LivestreamSetupPage(props: Props) {
return ( return (
<Page> <Page>
{/* channel selector */}
{!fetchingChannels && (
<>
<div className="section__actions--between">
<ChannelSelector hideAnon />
</div>
</>
)}
{/* no livestreaming privs because no premium membership */} {/* no livestreaming privs because no premium membership */}
{!livestreamEnabled && !odyseeMembership && ( {!livestreamEnabled && !odyseeMembership && (
<div style={{ marginTop: '11px' }}> <div style={{ marginTop: '11px' }}>
@ -233,15 +242,6 @@ export default function LivestreamSetupPage(props: Props) {
/> />
)} )}
{/* channel selector */}
{!fetchingChannels && (
<>
<div className="section__actions--between">
<ChannelSelector hideAnon />
</div>
</>
)}
{/* getting livestreams */} {/* getting livestreams */}
{fetchingLivestreams && !fetchingChannels && !hasLivestreamClaims && ( {fetchingLivestreams && !fetchingChannels && !hasLivestreamClaims && (
<div className="main--empty"> <div className="main--empty">