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:
parent
5c81ed958d
commit
c51f3c5644
1 changed files with 2 additions and 2 deletions
|
@ -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 && (
|
||||
<>
|
||||
|
|
Loading…
Reference in a new issue