style: 群会话, 不能使用商业号

dev/supplier-email-drawer
Lei OT 9 months ago
parent bd5cd24918
commit 44a1cd69c9

@ -84,7 +84,7 @@ const ReplyWrapper = () => {
{
key: 'waba', disabled: sessionType === 1,
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} />,
},
{ 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) ? (
<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>
),
},
// {

Loading…
Cancel
Save