From 7bc3f9ed30b23f6c69568a419cb6d55ad7902c1a Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 20 Sep 2023 23:19:53 -0300 Subject: [PATCH] skip groupNode from node update --- src/frontend/src/contexts/tabsContext.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/src/contexts/tabsContext.tsx b/src/frontend/src/contexts/tabsContext.tsx index 49cc30f6e..42b15e844 100644 --- a/src/frontend/src/contexts/tabsContext.tsx +++ b/src/frontend/src/contexts/tabsContext.tsx @@ -198,6 +198,7 @@ export function TabsProvider({ children }: { children: ReactNode }) { function processFlowNodes(flow: FlowType) { if (!flow.data || !flow.data.nodes) return; flow.data.nodes.forEach((node: NodeType) => { + if (node.data.node?.flow) return; if (skipNodeUpdate.includes(node.data.type)) return; const template = templates[node.data.type]; if (!template) {