1 parent
c27a4dd83d
commit
143143a88d
9 files changed
+111
-12
No files matched your search
@@ -349,6 +349,10 @@ export function resultGridCacheKey(tab: Pick<QueryTab, "id" | "activeResultRunId
|
||||
return `${tab.id}-${tab.activeResultRunId ?? "current"}-${tab.activeResultIndex ?? 0}`;
|
||||
}
|
||||
|
||||
export function resultGridInstanceKey(tab: Pick<QueryTab, "id" | "activeResultRunId" | "activeResultIndex" | "resultGridRevision">): string {
|
||||
return `${resultGridCacheKey(tab)}-${tab.resultGridRevision ?? "initial"}`;
|
||||
}
|
||||
|
||||
export function nextExecutionSummaryView(currentView: OutputView, canShowResult: boolean): OutputView {
|
||||
if (currentView === "summary" && canShowResult) return "result";
|
||||
return "summary";
|
||||
|
||||
Reference in new issue
Block a user