fix: variable-assigner node connect (#3288)
This commit is contained in:
parent
89a853212b
commit
240c793e7a
3 changed files with 17 additions and 5 deletions
|
|
@ -6,6 +6,7 @@ import produce from 'immer'
|
|||
import RemoveButton from '../../../_base/components/remove-button'
|
||||
import VarReferencePicker from '@/app/components/workflow/nodes/_base/components/variable/var-reference-picker'
|
||||
import type { ValueSelector, Var } from '@/app/components/workflow/types'
|
||||
import { VarType as VarKindType } from '@/app/components/workflow/nodes/tool/types'
|
||||
|
||||
type Props = {
|
||||
readonly: boolean
|
||||
|
|
@ -71,6 +72,7 @@ const VarList: FC<Props> = ({
|
|||
onOpen={handleOpen(index)}
|
||||
onlyLeafNodeVar={onlyLeafNodeVar}
|
||||
filterVar={filterVar}
|
||||
defaultVarKindType={VarKindType.variable}
|
||||
/>
|
||||
{!readonly && (
|
||||
<RemoveButton
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue