|
|
|
@ -67,6 +67,9 @@ export const useWorkflowNodeStarted = () => {
|
|
|
|
|
|
|
|
|
|
|
|
incomeEdges.forEach((edge) => {
|
|
|
|
incomeEdges.forEach((edge) => {
|
|
|
|
const incomeNode = nodes.find(node => node.id === edge.source)!
|
|
|
|
const incomeNode = nodes.find(node => node.id === edge.source)!
|
|
|
|
|
|
|
|
if (!incomeNode || !('data' in incomeNode))
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
(!incomeNode.data._runningBranchId && edge.sourceHandle === 'source')
|
|
|
|
(!incomeNode.data._runningBranchId && edge.sourceHandle === 'source')
|
|
|
|
|| (incomeNode.data._runningBranchId && edge.sourceHandle === incomeNode.data._runningBranchId)
|
|
|
|
|| (incomeNode.data._runningBranchId && edge.sourceHandle === incomeNode.data._runningBranchId)
|
|
|
|
|