|
|
@ -84,7 +84,7 @@ const ReplyWrapper = () => {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
key: 'waba', disabled: sessionType === 1,
|
|
|
|
key: 'waba', disabled: sessionType === 1,
|
|
|
|
label: mobile ? '' : `商业号(${WABAccountsMapped[whatsAppBusiness]?.verifiedName || '-'})`,
|
|
|
|
label: mobile ? '' : `商业号(${WABAccountsMapped[whatsAppBusiness]?.verifiedName || '-'})`,
|
|
|
|
icon: <WABIcon />,
|
|
|
|
icon: <WABIcon className={sessionType === 1 ? 'text-gray-500 [&_path]:fill-current' : ''} />,
|
|
|
|
children: <InputComposer currentActive={activeChannel === 'waba'} channel={'waba'} lastWABAMsg={lastWABAMsg} />,
|
|
|
|
children: <InputComposer currentActive={activeChannel === 'waba'} channel={'waba'} lastWABAMsg={lastWABAMsg} />,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ key: 'email', label: mobile ? '' : '邮件', icon: <MailOutlined className='text-indigo-500' />, children: <EmailComposer currentActive={activeChannel === 'email'} /> },
|
|
|
|
{ key: 'email', label: mobile ? '' : '邮件', icon: <MailOutlined className='text-indigo-500' />, children: <EmailComposer currentActive={activeChannel === 'email'} /> },
|
|
|
@ -95,7 +95,7 @@ const ReplyWrapper = () => {
|
|
|
|
children: isPermitted(PERM_USE_WHATSAPP) ? (
|
|
|
|
children: isPermitted(PERM_USE_WHATSAPP) ? (
|
|
|
|
<InputComposer channel={'wai'} />
|
|
|
|
<InputComposer channel={'wai'} />
|
|
|
|
) : (
|
|
|
|
) : (
|
|
|
|
<div className='p-2 py-4 text-center text-whatsapp bg-gray-200 rounded rounded-b-none border-gray-300 border-solid border border-b-0 border-x-0'>正在开发……敬请期待</div>
|
|
|
|
<div className='p-2 py-4 text-center text-whatsapp bg-gray-200 rounded rounded-b-none border-gray-300 border-solid border border-b-0 border-x-0'>请联系你的主管申请开通</div>
|
|
|
|
),
|
|
|
|
),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|