mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Handle qp clear input correctly (#3258)
* handle clearing xml in qp view * formatting
This commit is contained in:
@@ -103,6 +103,7 @@ export class QueryPlan {
|
||||
public set xml(xml: string) {
|
||||
this._xml = xml;
|
||||
new Builder(this.container).empty();
|
||||
if (this.xml) {
|
||||
QP.showPlan(this.container, this._xml, {
|
||||
jsTooltips: false
|
||||
});
|
||||
@@ -111,6 +112,7 @@ export class QueryPlan {
|
||||
toolTip.classList.add('monaco-editor-hover');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public get xml(): string {
|
||||
return this._xml;
|
||||
|
||||
Reference in New Issue
Block a user