mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-16 16:04:34 +00:00
fix external var ui (#4444)
This commit is contained in:
@@ -813,12 +813,14 @@ const ChatBox = ({
|
|||||||
showEmptyIntro &&
|
showEmptyIntro &&
|
||||||
chatRecords.length === 0 &&
|
chatRecords.length === 0 &&
|
||||||
!variableList?.length &&
|
!variableList?.length &&
|
||||||
|
!externalVariableList?.length &&
|
||||||
!welcomeText,
|
!welcomeText,
|
||||||
[
|
[
|
||||||
chatRecords.length,
|
chatRecords.length,
|
||||||
feConfigs?.show_emptyChat,
|
feConfigs?.show_emptyChat,
|
||||||
showEmptyIntro,
|
showEmptyIntro,
|
||||||
variableList?.length,
|
variableList?.length,
|
||||||
|
externalVariableList?.length,
|
||||||
welcomeText
|
welcomeText
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@@ -297,7 +297,7 @@ const InputTypeConfig = ({
|
|||||||
<FormLabel flex={'0 0 132px'} fontWeight={'medium'}>
|
<FormLabel flex={'0 0 132px'} fontWeight={'medium'}>
|
||||||
{t('common:core.module.Default Value')}
|
{t('common:core.module.Default Value')}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Flex alignItems={'center'} flex={1} h={10}>
|
<Flex flex={1} h={10}>
|
||||||
{(inputType === FlowNodeInputTypeEnum.numberInput ||
|
{(inputType === FlowNodeInputTypeEnum.numberInput ||
|
||||||
(inputType === VariableInputEnum.custom &&
|
(inputType === VariableInputEnum.custom &&
|
||||||
valueType === WorkflowIOValueTypeEnum.number)) && (
|
valueType === WorkflowIOValueTypeEnum.number)) && (
|
||||||
|
Reference in New Issue
Block a user