fix: dataset params default error (#2210)
This commit is contained in:
@@ -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]
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user