mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix nullref exception showing query plan panel (#1516)
This commit is contained in:
@@ -48,9 +48,11 @@ export class QueryPlanComponent implements OnDestroy, OnInit {
|
||||
|
||||
public set planXml(val: string) {
|
||||
this._planXml = val;
|
||||
QP.showPlan(this._container.nativeElement, this._planXml, {
|
||||
jsTooltips: false
|
||||
});
|
||||
if (this._planXml) {
|
||||
QP.showPlan(this._container.nativeElement, this._planXml, {
|
||||
jsTooltips: false
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private _updateTheme(theme: ITheme, collector: ICssStyleCollector) {
|
||||
|
||||
Reference in New Issue
Block a user