Skip to content

Commit 6d27a73

Browse files
authored
Fix payload update issue (baserow#4262)
1 parent 8d094b5 commit 6d27a73

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web-frontend/modules/automation/store/automationWorkflowNode.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ const updateContext = {
2020
const updateCachedValues = (workflow) => {
2121
if (!workflow || !workflow.nodes) return
2222

23-
Object.assign(
24-
workflow.nodeMap,
25-
Object.fromEntries(workflow.nodes.map((node) => [`${node.id}`, node]))
23+
workflow.nodeMap = Object.fromEntries(
24+
workflow.nodes.map((node) => [`${node.id}`, node])
2625
)
2726
}
2827

0 commit comments

Comments
 (0)