0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(console): always show upsell notice for custom JWT (#6500)

This commit is contained in:
Darcy Ye 2024-08-22 13:17:16 +08:00 committed by GitHub
parent 5c81ed958d
commit c51f3c5644
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 && <UpsellNotice isVisible={showPaywall} className={styles.inlineNotice} />}
<UpsellNotice isVisible={showPaywall} className={styles.inlineNotice} />
<div className={styles.container}>
{isLoading && (
<>