fix: fixed the program reduce algorithm to be flexable and correctly use the different phase variables.

ref: N25B-294
This commit is contained in:
Björn Otgaar
2025-11-18 18:47:08 +01:00
parent 0bbb6101ae
commit bb4e9d0b26
7 changed files with 128 additions and 56 deletions

View File

@@ -93,7 +93,9 @@ export function GoalReduce(node: Node, nodes: Node[]) {
}
const data = node.data as GoalNodeData;
return {
id: node.id,
label: data.label,
description: data.description,
achieved: data.achieved,
}
}