From 4df987a613c3ce905fc4aa1302df4131029e8e17 Mon Sep 17 00:00:00 2001 From: taggon Date: Thu, 9 Jun 2022 15:31:40 +0900 Subject: [PATCH] Plans: show notice for sites on unsupported plans --- client/my-sites/plans-features-main/index.jsx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/client/my-sites/plans-features-main/index.jsx b/client/my-sites/plans-features-main/index.jsx index 7c8bfc3831748..bb24d3c439195 100644 --- a/client/my-sites/plans-features-main/index.jsx +++ b/client/my-sites/plans-features-main/index.jsx @@ -10,6 +10,8 @@ import { isPremiumPlan, isBusinessPlan, isEcommercePlan, + isProPlan, + isStarterPlan, planMatches, TYPE_FREE, TYPE_BLOGGER, @@ -163,6 +165,7 @@ export class PlansFeaturesMain extends Component { isJetpack, isLandingPage, isLaunchPage, + isCurrentPlanRetired, onUpgradeClick, selectedFeature, selectedPlan, @@ -191,7 +194,19 @@ export class PlansFeaturesMain extends Component { ) } data-e2e-plans="wpcom" > - { currentPurchaseIsInAppPurchase && ( + { isCurrentPlanRetired && ( + + ) } + { ! isCurrentPlanRetired && currentPurchaseIsInAppPurchase && (