|
|
|
@ -52,6 +52,7 @@ const VarList: FC<Props> = ({
|
|
|
|
const newList = produce(list, (draft) => {
|
|
|
|
const newList = produce(list, (draft) => {
|
|
|
|
draft[index].variable_selector = value as ValueSelector
|
|
|
|
draft[index].variable_selector = value as ValueSelector
|
|
|
|
draft[index].operation = WriteMode.overwrite
|
|
|
|
draft[index].operation = WriteMode.overwrite
|
|
|
|
|
|
|
|
draft[index].input_type = AssignerNodeInputType.variable
|
|
|
|
draft[index].value = undefined
|
|
|
|
draft[index].value = undefined
|
|
|
|
})
|
|
|
|
})
|
|
|
|
onChange(newList, value as ValueSelector)
|
|
|
|
onChange(newList, value as ValueSelector)
|
|
|
|
|