We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 667caee commit 25ca31dCopy full SHA for 25ca31d
libs/web-flow-executor/src/nodes/sum.ts
@@ -74,7 +74,7 @@ export const getSum: NodeTaskFactory<NodeInfo> = (
74
const sum = values
75
.map((value) => parseFloat(value) ?? 0)
76
.reduce((a, b) => a + b, 0);
77
- if (htmlNode) {
+ if (htmlNode && !payload?.showPreview) {
78
if (hasInitialValue) {
79
hasInitialValue = false;
80
}
@@ -83,8 +83,8 @@ export const getSum: NodeTaskFactory<NodeInfo> = (
83
if (rect) {
84
rect.resize(240);
85
86
+ currentSum = sum;
87
- currentSum = sum;
88
89
if (payload?.showPreview) {
90
showPreviewTip(sum, previewNode);
0 commit comments