This commit is contained in:
parent
7adb162cc8
commit
9bf3be222a
@ -149,7 +149,9 @@ export default {
|
||||
upstreamId: (prevJob && prevJob.id) || null,
|
||||
};
|
||||
|
||||
const branchNode = processor.nodes.find((item) => item.upstream === node && Boolean(item.branchIndex) === result);
|
||||
const branchNode = processor.nodes.find(
|
||||
(item) => item.upstreamId === node.id && item.branchIndex != null && Boolean(item.branchIndex) === result,
|
||||
);
|
||||
|
||||
if (!branchNode) {
|
||||
return job;
|
||||
|
Loading…
Reference in New Issue
Block a user