Fix build error and set isBuilding to false
This commit is contained in:
parent
fa4f201925
commit
d5b63a6c6e
1 changed files with 2 additions and 0 deletions
|
|
@ -501,12 +501,14 @@ const useFlowStore = create<FlowStoreType>((set, get) => ({
|
|||
onBuildError: (title, list, idList) => {
|
||||
useFlowStore.getState().updateBuildStatus(idList, BuildStatus.BUILT);
|
||||
setErrorData({ list, title });
|
||||
get().setIsBuilding(false);
|
||||
},
|
||||
onBuildStart: (idList) => {
|
||||
useFlowStore.getState().updateBuildStatus(idList, BuildStatus.BUILDING);
|
||||
},
|
||||
validateNodes: validateSubgraph,
|
||||
});
|
||||
get().setIsBuilding(false);
|
||||
get().revertBuiltStatusFromBuilding();
|
||||
},
|
||||
getFlow: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue