feat: team admin can pay billing (#2240)
This commit is contained in:
parent
9fd55157d6
commit
2fc0dcc10a
9 changed files with 18 additions and 11 deletions
|
|
@ -20,8 +20,8 @@ const Pricing: FC<Props> = ({
|
|||
}) => {
|
||||
const { t } = useTranslation()
|
||||
const { plan } = useProviderContext()
|
||||
const { isCurrentWorkspaceOwner } = useAppContext()
|
||||
const canPay = isCurrentWorkspaceOwner
|
||||
const { isCurrentWorkspaceManager } = useAppContext()
|
||||
const canPay = isCurrentWorkspaceManager
|
||||
const [planRange, setPlanRange] = React.useState<PlanRange>(PlanRange.monthly)
|
||||
|
||||
return createPortal(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue