fix: no var type value hide

pull/22091/head
Joel 12 months ago
parent b73e64b975
commit 2efdacd28b

@ -64,7 +64,7 @@ const FormInputItem: FC<Props> = ({
const isFile = type === FormTypeEnum.file || type === FormTypeEnum.files const isFile = type === FormTypeEnum.file || type === FormTypeEnum.files
const showTypeSwitch = isNumber || isObject || isArray const showTypeSwitch = isNumber || isObject || isArray
const isVariable = varInput?.type === VarKindType.variable 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, { const { availableVars, availableNodesWithParent } = useAvailableVarList(nodeId, {
onlyLeafNodeVar: false, onlyLeafNodeVar: false,

Loading…
Cancel
Save