fix(sqlserver): focus data results in multi-target execution
This commit is contained in:
1 parent
6a2000deff
commit
98df975614
4 files changed
+458
-7
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user