fix: change initial status on loading flowManagerStore to prevent infinity loading (#2804)
🐛 (flowsManagerStore.ts): fix isLoading initial value to false to correctly reflect loading state
This commit is contained in:
parent
5ed8d1a63a
commit
6ee14a502c
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ const useFlowsManagerStore = create<FlowsManagerStoreType>((set, get) => ({
|
|||
currentFlow: undefined,
|
||||
saveLoading: false,
|
||||
setSaveLoading: (saveLoading: boolean) => set({ saveLoading }),
|
||||
isLoading: true,
|
||||
isLoading: false,
|
||||
setIsLoading: (isLoading: boolean) => set({ isLoading }),
|
||||
refreshFlows: () => {
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue