Update useFlowStore to use top_level_vertices instead of next_vertices_ids
This commit is contained in:
parent
efc66b014b
commit
0d15491d36
2 changed files with 2 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ const useFlowStore = create<FlowStoreType>((set, get) => ({
|
||||||
runId: runId,
|
runId: runId,
|
||||||
});
|
});
|
||||||
get().updateBuildStatus(
|
get().updateBuildStatus(
|
||||||
vertexBuildData.next_vertices_ids,
|
vertexBuildData.top_level_vertices,
|
||||||
BuildStatus.TO_BUILD
|
BuildStatus.TO_BUILD
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,7 @@ export type VertexBuildTypeAPI = {
|
||||||
id: string;
|
id: string;
|
||||||
inactivated_vertices: Array<string> | null;
|
inactivated_vertices: Array<string> | null;
|
||||||
next_vertices_ids: Array<string>;
|
next_vertices_ids: Array<string>;
|
||||||
|
top_level_vertices: Array<string>;
|
||||||
run_id: string;
|
run_id: string;
|
||||||
valid: boolean;
|
valid: boolean;
|
||||||
params: string;
|
params: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue