mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-29 01:40:51 +00:00
chatbot url没有配置时,不显示chatbot界面,改善页面一致性 (#1295)
Signed-off-by: Ben Gao <bengao168@msn.com>
This commit is contained in:
@@ -564,6 +564,7 @@ const Other = () => {
|
|||||||
</Box>
|
</Box>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
{feConfigs?.chatbotUrl && (
|
||||||
<Link
|
<Link
|
||||||
href={feConfigs.chatbotUrl}
|
href={feConfigs.chatbotUrl}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
@@ -583,6 +584,7 @@ const Other = () => {
|
|||||||
{t('common.system.Help Chatbot')}
|
{t('common.system.Help Chatbot')}
|
||||||
</Box>
|
</Box>
|
||||||
</Link>
|
</Link>
|
||||||
|
)}
|
||||||
|
|
||||||
{feConfigs?.lafEnv && userInfo?.team.role === TeamMemberRoleEnum.owner && (
|
{feConfigs?.lafEnv && userInfo?.team.role === TeamMemberRoleEnum.owner && (
|
||||||
<Flex
|
<Flex
|
||||||
|
Reference in New Issue
Block a user