We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40c7635 commit 4d23108Copy full SHA for 4d23108
1 file changed
src/components/atoms/util.js
@@ -91,7 +91,16 @@ export const isSaveNeeded = (flowData, flowDataDraft) => {
91
return { id, type, data, position };
92
};
93
94
- const nodes = flowData.nodes.map((e) => unwrapNode(e));
+ const nodes = flowData.nodes.map((node) => {
95
+ if (node.type === 'outputNode' && node.data.output) {
96
+ const { ['output']: _, ...data } = node.data;
97
+ return unwrapNode({
98
+ ...node,
99
+ data,
100
+ });
101
+ }
102
+ return unwrapNode(node);
103
104
const nodesDraft = flowDataDraft.nodes.map((node) => {
105
if (node.type === 'outputNode' && node.data.output) {
106
const { ['output']: _, ...data } = node.data;
0 commit comments