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:
parent
e5626cb247
commit
3bc708fd61
1 changed files with 1 additions and 0 deletions
|
|
@ -594,6 +594,7 @@ export function TabsProvider({ children }: { children: ReactNode }) {
|
||||||
name: flow?.name ?? getRandomName(),
|
name: flow?.name ?? getRandomName(),
|
||||||
data: flowData,
|
data: flowData,
|
||||||
id: "",
|
id: "",
|
||||||
|
is_component: flow?.is_component ?? false,
|
||||||
});
|
});
|
||||||
|
|
||||||
const addFlowToLocalState = (newFlow: FlowType) => {
|
const addFlowToLocalState = (newFlow: FlowType) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue