fix: animation of building edges on build stop (#3937)
fix: remove animation of builidng edges on build stop
This commit is contained in:
parent
1bf6781dc4
commit
f906059a72
1 changed files with 4 additions and 0 deletions
|
|
@ -82,6 +82,10 @@ const useFlowStore = create<FlowStoreType>((set, get) => ({
|
|||
isBuilding: false,
|
||||
stopBuilding: () => {
|
||||
get().buildController.abort();
|
||||
get().updateEdgesRunningByNodes(
|
||||
get().nodes.map((n) => n.id),
|
||||
false,
|
||||
);
|
||||
set({ isBuilding: false });
|
||||
},
|
||||
isPending: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue