From a6a633ce582b3af0311e71b44f1f802c050a45ae Mon Sep 17 00:00:00 2001 From: ramonjd Date: Fri, 20 Nov 2020 21:40:29 +1100 Subject: [PATCH] Ensure the badge says Private if the user has deactivated while in v1 coming soon mode --- client/blocks/site/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/blocks/site/index.jsx b/client/blocks/site/index.jsx index bfea94fef4dfad..158816e0a111b7 100644 --- a/client/blocks/site/index.jsx +++ b/client/blocks/site/index.jsx @@ -164,7 +164,8 @@ class Site extends React.Component { { /* eslint-disable wpcalypso/jsx-gridicon-size */ } { this.props.site.is_private && ( // Coming Soon v1 - { this.props.site.is_coming_soon || isPrivateAndUnlaunched + { ( this.props.site.is_coming_soon || isPrivateAndUnlaunched ) && + ! isAtomicAndEditingToolkitDeactivated ? translate( 'Coming Soon' ) : translate( 'Private' ) }