clear key when run sequnetial run is off (#4088)

This commit is contained in:
LawyZheng
2025-11-25 15:46:28 +08:00
committed by GitHub
parent ae38b9096f
commit a4ecef62dd

View File

@@ -279,7 +279,12 @@ function StartNode({ id, data }: NodeProps<StartNode>) {
className="ml-auto"
checked={data.runSequentially}
onCheckedChange={(value) => {
update({ runSequentially: value });
update({
runSequentially: value,
sequentialKey: value
? data.sequentialKey
: null,
});
}}
/>
</div>