mirror of
https://github.com/logto-io/logto.git
synced 2025-03-10 22:22:45 -05:00
fix: use correct disabled
logic for free plan (#5964)
fix: use correct disable logic for free plan
This commit is contained in:
parent
61da265048
commit
a72b71516b
1 changed files with 1 additions and 1 deletions
|
@ -85,11 +85,11 @@ function PlanCardItem({ plan, onSelect, buttonProps }: Props) {
|
|||
<Trans components={{ name: <PlanName name={planName} /> }}>{t('select_plan')}</Trans>
|
||||
</DangerousRaw>
|
||||
}
|
||||
disabled={isFreePlan && isFreeTenantExceeded}
|
||||
type={isFreePlan ? 'outline' : 'primary'}
|
||||
size="large"
|
||||
onClick={onSelect}
|
||||
{...buttonProps}
|
||||
disabled={(isFreePlan && isFreeTenantExceeded) || buttonProps?.disabled}
|
||||
/>
|
||||
</div>
|
||||
{planId === ReservedPlanId.Hobby && (
|
||||
|
|
Loading…
Add table
Reference in a new issue