mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fix: update loading state via superstor
This commit is contained in:
parent
8b70fa935c
commit
f238ab2bb8
1 changed files with 3 additions and 1 deletions
|
|
@ -250,7 +250,9 @@ export function createDataQueriesStore(moduleName) {
|
|||
actions.setSelectedQuery(null);
|
||||
toast.error(`Failed to create query: ${error.message}`);
|
||||
})
|
||||
.finally(() => useAppDataStore.getState().actions.setIsSaving(false));
|
||||
.finally(() =>
|
||||
useSuperStore.getState().modules[get().moduleName].useAppDataStore.getState().actions.setIsSaving(false)
|
||||
);
|
||||
},
|
||||
renameQuery: (id, newName) => {
|
||||
/** If query creation in progress, skips call and pushes the update to queue */
|
||||
|
|
|
|||
Loading…
Reference in a new issue