fix(sqlserver): focus data results in multi-target execution

This commit is contained in:
Melody Ruch authored and GitHub committed 2026-08-15 14:42:06 +08:00
1 parent 6a2000deff
commit 98df975614
4 files changed
+458 -7

No files matched your search

+1 -1
View File
@@ -5368,7 +5368,7 @@ export const useQueryStore = defineStore("query", () => {
}
function setActiveResultIndex(id: string, index: number) {
const tab = tabs.value.find((t) => t.id === id);
const tab = findExecutionTab(id);
if (!tab?.results || index < 0 || index >= tab.results.length) return;
tab.activeResultIndex = index;
tab.result = tab.results[index];