fix(plugin-workflow): error thrown when node deleted (#8090)

This commit is contained in:
Junyi
2025-12-04 23:39:24 +08:00
committed by GitHub
parent ae9404c1d2
commit 17342ed65d
@@ -46,6 +46,9 @@ function attachJobs(nodes, jobs: any[] = []): void {
});
jobs.forEach((item) => {
const node = nodesMap.get(item.nodeId);
if (!node) {
return;
}
node.jobs.push(item);
item.node = {
id: node.id,