fix: dataset params default error (#2210)
This commit is contained in:
parent
cc6fa4207a
commit
c129874d59
@ -55,7 +55,7 @@ const SelectDatasetParam = ({ inputs = [], nodeId }: RenderInputProps) => {
|
|||||||
setData((state) => ({
|
setData((state) => ({
|
||||||
...state,
|
...state,
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
[input.key]: input.value || state[input.key]
|
[input.key]: input.value ?? state[input.key]
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user