From f8199d763cc9382e558ec034fbc7d68c3a92fad3 Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 30 Mar 2021 12:29:28 -0400 Subject: [PATCH] hide when no livestream claims --- ui/page/livestreamSetup/view.jsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/ui/page/livestreamSetup/view.jsx b/ui/page/livestreamSetup/view.jsx index 2b5a95e01..eb6da5a23 100644 --- a/ui/page/livestreamSetup/view.jsx +++ b/ui/page/livestreamSetup/view.jsx @@ -227,14 +227,16 @@ export default function LivestreamSetupPage(props: Props) { /> )} -
- !pendingLiveStreamClaims.some((p) => p.permanent_url === c.permanent_url)) - .map((claim) => claim.permanent_url)} - /> -
+ {Boolean(livestreamClaims.length) && ( +
+ !pendingLiveStreamClaims.some((p) => p.permanent_url === c.permanent_url)) + .map((claim) => claim.permanent_url)} + /> +
+ )} ) : (