From 4facd12c7c1d2607c6d003f45c7d5ed765cd88f7 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 9 Sep 2020 17:13:25 -0400 Subject: [PATCH] dont' show youtube intro for abandoned youtube syncs --- ui/component/userSignUp/view.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/component/userSignUp/view.jsx b/ui/component/userSignUp/view.jsx index 235c4cc2d..d26808b91 100644 --- a/ui/component/userSignUp/view.jsx +++ b/ui/component/userSignUp/view.jsx @@ -92,7 +92,11 @@ function UserSignUp(props: Props) { const hasYoutubeChannels = youtubeChannels && Boolean(youtubeChannels.length); const isYoutubeTransferComplete = hasYoutubeChannels && - youtubeChannels.every(channel => channel.transfer_state === YOUTUBE_STATUSES.COMPLETED_TRANSFER); + youtubeChannels.every( + channel => + channel.transfer_state === YOUTUBE_STATUSES.COMPLETED_TRANSFER || + channel.sync_status === YOUTUBE_STATUSES.YOUTUBE_SYNC_ABANDONDED + ); // Complexity warning // We can't just check if we are currently fetching something // We may want to keep a component rendered while something is being fetched, instead of replacing it with the large spinner