|
@@ -5,6 +5,8 @@ import InvitationLink from './invitation-link'
|
|
|
import s from './index.module.css'
|
|
|
import Modal from '@/app/components/base/modal'
|
|
|
import Button from '@/app/components/base/button'
|
|
|
+import { IS_CE_EDITION } from '@/config'
|
|
|
+
|
|
|
type IInvitedModalProps = {
|
|
|
invitationLink: string
|
|
|
onCancel: () => void
|
|
@@ -29,11 +31,18 @@ const InvitedModal = ({
|
|
|
<XMarkIcon className='w-4 h-4 cursor-pointer' onClick={onCancel} />
|
|
|
</div>
|
|
|
<div className='mb-1 text-xl font-semibold text-gray-900'>{t('common.members.invitationSent')}</div>
|
|
|
- <div className='mb-5 text-sm text-gray-500'>{t('common.members.invitationSentTip')}</div>
|
|
|
- <div className='mb-9'>
|
|
|
- <div className='py-2 text-sm font-Medium text-gray-900'>{t('common.members.invitationLink')}</div>
|
|
|
- <InvitationLink value={invitationLink} />
|
|
|
- </div>
|
|
|
+ {!IS_CE_EDITION && (
|
|
|
+ <div className='mb-10 text-sm text-gray-500'>{t('common.members.invitationSentTip')}</div>
|
|
|
+ )}
|
|
|
+ {IS_CE_EDITION && (
|
|
|
+ <>
|
|
|
+ <div className='mb-5 text-sm text-gray-500'>{t('common.members.invitationSentTip')}</div>
|
|
|
+ <div className='mb-9'>
|
|
|
+ <div className='py-2 text-sm font-Medium text-gray-900'>{t('common.members.invitationLink')}</div>
|
|
|
+ <InvitationLink value={invitationLink} />
|
|
|
+ </div>
|
|
|
+ </>
|
|
|
+ )}
|
|
|
<div className='flex justify-end'>
|
|
|
<Button
|
|
|
className='w-[96px] text-sm font-medium'
|