mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 09:35:39 -05:00
fix more issues related to query cancel (#15727)
* fix more issues related to query cancel * comments
This commit is contained in:
@@ -238,9 +238,9 @@ export class QueryResultsView extends Disposable {
|
||||
this._panelView.showTab(this.messagesTab.identifier);
|
||||
}
|
||||
// Currently we only need to support visualization options for the first result set.
|
||||
if (runner.batchSets[0]?.resultSetSummaries[0]?.visualization) {
|
||||
const batchSet = runner.batchSets[0];
|
||||
const resultSet = batchSet.resultSetSummaries[0];
|
||||
const batchSet = runner.batchSets[0];
|
||||
const resultSet = batchSet?.resultSetSummaries?.[0];
|
||||
if (resultSet?.visualization) {
|
||||
this.chartData({
|
||||
resultId: batchSet.id,
|
||||
batchId: resultSet.batchId
|
||||
|
||||
Reference in New Issue
Block a user