From f906059a72c091279978ad5c187c7cf71d530813 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Fri, 27 Sep 2024 11:44:27 -0300 Subject: [PATCH] fix: animation of building edges on build stop (#3937) fix: remove animation of builidng edges on build stop --- src/frontend/src/stores/flowStore.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/src/stores/flowStore.ts b/src/frontend/src/stores/flowStore.ts index eb1dc22eb..c5b6e290e 100644 --- a/src/frontend/src/stores/flowStore.ts +++ b/src/frontend/src/stores/flowStore.ts @@ -82,6 +82,10 @@ const useFlowStore = create((set, get) => ({ isBuilding: false, stopBuilding: () => { get().buildController.abort(); + get().updateEdgesRunningByNodes( + get().nodes.map((n) => n.id), + false, + ); set({ isBuilding: false }); }, isPending: true,