From c51f3c564466f21cdf3eab7dd00aa5b5e7b27bf2 Mon Sep 17 00:00:00 2001 From: Darcy Ye Date: Thu, 22 Aug 2024 13:17:16 +0800 Subject: [PATCH] fix(console): always show upsell notice for custom JWT (#6500) --- packages/console/src/pages/CustomizeJwt/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/console/src/pages/CustomizeJwt/index.tsx b/packages/console/src/pages/CustomizeJwt/index.tsx index 2938b12b4..169137b2e 100644 --- a/packages/console/src/pages/CustomizeJwt/index.tsx +++ b/packages/console/src/pages/CustomizeJwt/index.tsx @@ -22,7 +22,7 @@ function CustomizeJwt() { const { isDevTenant } = useContext(TenantsContext); const { - currentSubscription: { planId, isAddOnAvailable }, + currentSubscription: { planId }, currentSubscriptionQuota: { customJwtEnabled }, } = useContext(SubscriptionDataContext); const isCustomJwtEnabled = !isCloud || customJwtEnabled; @@ -46,7 +46,7 @@ function CustomizeJwt() { subtitle="jwt_claims.description" className={styles.header} /> - {isAddOnAvailable && } +
{isLoading && ( <>