mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 17:52:34 -05:00
Clean up result tab better (#3015)
* do a better job cleaning up results tab * formatting
This commit is contained in:
committed by
Karl Burtram
parent
a8eaf28884
commit
27735dd68b
@@ -18,7 +18,7 @@ export class ChartTab implements IPanelTab {
|
||||
public readonly identifier = 'ChartTab';
|
||||
public readonly view: ChartView;
|
||||
|
||||
constructor(@IInstantiationService instantiationService: IInstantiationService) {
|
||||
constructor( @IInstantiationService instantiationService: IInstantiationService) {
|
||||
this.view = instantiationService.createInstance(ChartView);
|
||||
}
|
||||
|
||||
@@ -26,7 +26,11 @@ export class ChartTab implements IPanelTab {
|
||||
this.view.queryRunner = runner;
|
||||
}
|
||||
|
||||
public chart(dataId: { batchId: number, resultId: number}): void {
|
||||
public chart(dataId: { batchId: number, resultId: number }): void {
|
||||
this.view.chart(dataId);
|
||||
}
|
||||
|
||||
public dispose() {
|
||||
this.view.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user