From 3bc708fd61e8a2197540155cc687dc8e884257e5 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 23 Oct 2023 15:06:13 -0300 Subject: [PATCH] feat(tabsContext.tsx): add 'is_component' property to the flow object in the TabsProvider component to indicate whether the flow is a component or not --- 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 c8cc04f93..95e059f6a 100644 --- a/src/frontend/src/contexts/tabsContext.tsx +++ b/src/frontend/src/contexts/tabsContext.tsx @@ -594,6 +594,7 @@ export function TabsProvider({ children }: { children: ReactNode }) { name: flow?.name ?? getRandomName(), data: flowData, id: "", + is_component: flow?.is_component ?? false, }); const addFlowToLocalState = (newFlow: FlowType) => {