Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: sql editor is slow when data is large (#17409)

ecmadao63b51a153042
diff --git a/frontend/src/store/modules/sqlEditor/tab.ts b/frontend/src/store/modules/sqlEditor/tab.ts
index 1beb0ff1f4..9d8437fa8a 100644
--- a/frontend/src/store/modules/sqlEditor/tab.ts
+++ b/frontend/src/store/modules/sqlEditor/tab.ts
@@ -264,10 +264,7 @@ export const useSQLEditorTabStore = defineStore("sqlEditorTab", () => {
const updateTab = (id: string, payload: Partial<SQLEditorTab>) => {
const tab = tabById(id);
if (!tab) return;
- tabsById.set(id, {
- ...tab,
- ...payload,
- });
+ Object.assign(tab, payload);
};
const updateCurrentTab = (payload: Partial<SQLEditorTab>) => {
const id = currentTabId.value;