mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
clear out tabs when a input is set (#5789)
This commit is contained in:
committed by
Karl Burtram
parent
559c675164
commit
364206010b
@@ -287,6 +287,8 @@ export class QueryResultsView extends Disposable {
|
|||||||
this.topOperationsTab.view.state = this.input.state.topOperationsState;
|
this.topOperationsTab.view.state = this.input.state.topOperationsState;
|
||||||
this.chartTab.view.state = this.input.state.chartState;
|
this.chartTab.view.state = this.input.state.chartState;
|
||||||
|
|
||||||
|
[this.resultsTab, this.messagesTab, this.qpTab, this.topOperationsTab, this.chartTab].forEach(t => t.clear());
|
||||||
|
|
||||||
let info = this.queryModelService._getQueryInfo(input.uri);
|
let info = this.queryModelService._getQueryInfo(input.uri);
|
||||||
if (info) {
|
if (info) {
|
||||||
this.setQueryRunner(info.queryRunner);
|
this.setQueryRunner(info.queryRunner);
|
||||||
|
|||||||
Reference in New Issue
Block a user