From d5ff86c427df3728975f40c9ab08e49664004299 Mon Sep 17 00:00:00 2001 From: Kiran Ashok Date: Tue, 30 Jul 2024 11:21:09 +0530 Subject: [PATCH] fix: editor shows saving if the query is duplicated and doesn't go away (#10460) --- frontend/src/_stores/dataQueriesStore.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/_stores/dataQueriesStore.js b/frontend/src/_stores/dataQueriesStore.js index 5b9bba899d..34a3b4ab0c 100644 --- a/frontend/src/_stores/dataQueriesStore.js +++ b/frontend/src/_stores/dataQueriesStore.js @@ -462,6 +462,9 @@ export const useDataQueriesStore = create( useAppDataStore.getState().actions?.createAppVersionEventHandlers(newEvent); }) ); + }) + .finally(() => { + useAppDataStore.getState().actions.setIsSaving(false); }); },