feat: require compliance confirmation for paid features
Gate payment, redemption, subscription, and invitation reward flows behind an audited compliance acknowledgement.
This commit is contained in:
@@ -20,7 +20,7 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
import React from 'react';
|
||||
import { Button } from '@douyinfe/semi-ui';
|
||||
|
||||
const SubscriptionsActions = ({ openCreate, t }) => {
|
||||
const SubscriptionsActions = ({ openCreate, t, disabled = false }) => {
|
||||
return (
|
||||
<div className='flex gap-2 w-full md:w-auto'>
|
||||
<Button
|
||||
@@ -28,6 +28,7 @@ const SubscriptionsActions = ({ openCreate, t }) => {
|
||||
className='w-full md:w-auto'
|
||||
onClick={openCreate}
|
||||
size='small'
|
||||
disabled={disabled}
|
||||
>
|
||||
{t('新建套餐')}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user