mirror of
https://github.com/langgenius/dify.git
synced 2026-04-25 13:16:16 +08:00
fix: no var type value hide
This commit is contained in:
@ -64,7 +64,7 @@ const FormInputItem: FC<Props> = ({
|
||||
const isFile = type === FormTypeEnum.file || type === FormTypeEnum.files
|
||||
const showTypeSwitch = isNumber || isObject || isArray
|
||||
const isVariable = varInput?.type === VarKindType.variable
|
||||
const isConstant = varInput?.type === VarKindType.constant
|
||||
const isConstant = varInput?.type === VarKindType.constant || !varInput?.type
|
||||
|
||||
const { availableVars, availableNodesWithParent } = useAvailableVarList(nodeId, {
|
||||
onlyLeafNodeVar: false,
|
||||
|
||||
Reference in New Issue
Block a user