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

This commit is contained in:
anovazzi1 2023-10-23 15:06:13 -03:00
commit 3bc708fd61

View file

@ -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) => {