From 73a7575b5629751dc7223db276989fb98591db11 Mon Sep 17 00:00:00 2001 From: Micheline Wu <69046953+michelinewu@users.noreply.github.com> Date: Tue, 1 Oct 2024 14:38:11 -0400 Subject: [PATCH] Fix audience controls and generate stream key logic. (#5148) * Fix audience controls and generate stream key logic. * fix(build): strict nulls --------- Co-authored-by: Adrian Perez --- .../platforms/TiktokEditStreamInfo.tsx | 15 +++++++------ app/services/platforms/tiktok.ts | 21 +++++++++++++------ app/services/platforms/tiktok/api.ts | 9 +++++++- 3 files changed, 32 insertions(+), 13 deletions(-) diff --git a/app/components-react/windows/go-live/platforms/TiktokEditStreamInfo.tsx b/app/components-react/windows/go-live/platforms/TiktokEditStreamInfo.tsx index cca2a4e24cfc..cfaf8c0b00b3 100644 --- a/app/components-react/windows/go-live/platforms/TiktokEditStreamInfo.tsx +++ b/app/components-react/windows/go-live/platforms/TiktokEditStreamInfo.tsx @@ -45,7 +45,7 @@ export function TikTokEditStreamInfo(p: IPlatformComponentParams<'tiktok'>) { requiredFields={
} /> {approved && } - {!controls.disable && ( + {approved && !controls.disable && ( - {!p.denied && ( - - )} + +