mirror of https://github.com/langgenius/dify.git
fix
This commit is contained in:
parent
985c07b25b
commit
817aea9f05
|
|
@ -91,6 +91,10 @@ export const useWorkflow = () => {
|
|||
list.push(node)
|
||||
})
|
||||
|
||||
const incomers = getIncomers({ id: nodeId } as Node, nodes, edges)
|
||||
|
||||
list.push(...incomers)
|
||||
|
||||
return list.filter((item) => {
|
||||
if (item.data.type === BlockEnum.IfElse)
|
||||
return false
|
||||
|
|
|
|||
Loading…
Reference in New Issue