diff --git a/src/frontend/src/types/flow/index.ts b/src/frontend/src/types/flow/index.ts index 1291b83ce..b61fd1ba2 100644 --- a/src/frontend/src/types/flow/index.ts +++ b/src/frontend/src/types/flow/index.ts @@ -7,7 +7,7 @@ export type FlowType = { data: ReactFlowJsonObject | null; description: string; style?: FlowStyleType; - isComponent?: boolean; + is_component?: boolean; }; export type NodeType = { id: string; diff --git a/src/frontend/src/utils/reactflowUtils.ts b/src/frontend/src/utils/reactflowUtils.ts index 16ea322ba..3f26d8098 100644 --- a/src/frontend/src/utils/reactflowUtils.ts +++ b/src/frontend/src/utils/reactflowUtils.ts @@ -1081,7 +1081,7 @@ export function createFlowComponent(nodeData: NodeDataType): FlowType { description: nodeData.node?.description || "", name: nodeData.node?.display_name || nodeData.type || "", id: nodeData.id || "", - isComponent: true, + is_component: true, }; return flowNode; }