mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
This commit is contained in:
@@ -41,7 +41,7 @@ export class ExecutionPlanFileView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public onHide(parentContainer: HTMLElement): void {
|
public onHide(parentContainer: HTMLElement): void {
|
||||||
if (parentContainer === this._parent) {
|
if (parentContainer === this._parent && parentContainer.contains(this._container)) {
|
||||||
this._parent.removeChild(this._container);
|
this._parent.removeChild(this._container);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ export class ExecutionPlanTabView implements IPanelView {
|
|||||||
currentView.onHide(this._container);
|
currentView.onHide(this._container);
|
||||||
this._input.graphs = [];
|
this._input.graphs = [];
|
||||||
currentView = this._instantiationService.createInstance(ExecutionPlanFileView);
|
currentView = this._instantiationService.createInstance(ExecutionPlanFileView);
|
||||||
|
this._viewCache.executionPlanFileViewMap.set(this._input.executionPlanFileViewUUID, currentView);
|
||||||
currentView.render(this._container);
|
currentView.render(this._container);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user