fix(connection): clear errors after disconnect
This commit is contained in:
1 parent
a414183ff0
commit
c35929da7c
2 files changed
+86
No files matched your search
@@ -788,6 +788,7 @@ export const useConnectionStore = defineStore("connection", () => {
|
||||
async function disconnect(connectionId: string) {
|
||||
const shouldRemoveOneTimeConnection = getConfig(connectionId)?.one_time === true;
|
||||
await api.disconnectDb(connectionId);
|
||||
clearConnectionError(connectionId);
|
||||
const { useQueryStore } = await import("@/stores/queryStore");
|
||||
const queryStore = useQueryStore();
|
||||
switch (settingsStore.editorSettings.disconnectTabHandlingMode) {
|
||||
|
||||
Reference in new issue
Block a user