From 6ee14a502cdb9f831b1955c287e3f5a9e7f7eaf3 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa <72977554+Cristhianzl@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:05:36 -0300 Subject: [PATCH] fix: change initial status on loading flowManagerStore to prevent infinity loading (#2804) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🐛 (flowsManagerStore.ts): fix isLoading initial value to false to correctly reflect loading state --- src/frontend/src/stores/flowsManagerStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/stores/flowsManagerStore.ts b/src/frontend/src/stores/flowsManagerStore.ts index fe77f4072f5..5b0ac465122 100644 --- a/src/frontend/src/stores/flowsManagerStore.ts +++ b/src/frontend/src/stores/flowsManagerStore.ts @@ -79,7 +79,7 @@ const useFlowsManagerStore = create((set, get) => ({ currentFlow: undefined, saveLoading: false, setSaveLoading: (saveLoading: boolean) => set({ saveLoading }), - isLoading: true, + isLoading: false, setIsLoading: (isLoading: boolean) => set({ isLoading }), refreshFlows: () => { return new Promise((resolve, reject) => {