mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 17:22:45 -05:00
Registers all disposable items for query execution plans (#20851)
This commit is contained in:
@@ -135,10 +135,11 @@ export class ExecutionPlanComparisonPropertiesView extends ExecutionPlanProperti
|
||||
const columns: Slick.Column<Slick.SlickData>[] = this.getPropertyTableColumns();
|
||||
|
||||
let primaryProps = [];
|
||||
let secondaryProps = [];
|
||||
if (this._model.primaryElement?.properties) {
|
||||
primaryProps = this._model.primaryElement.properties;
|
||||
}
|
||||
|
||||
let secondaryProps = [];
|
||||
if (this._model.secondaryElement?.properties) {
|
||||
secondaryProps = this._model.secondaryElement.properties;
|
||||
}
|
||||
@@ -440,6 +441,7 @@ export class ExecutionPlanComparisonPropertiesView extends ExecutionPlanProperti
|
||||
};
|
||||
|
||||
rows.push(row);
|
||||
|
||||
if (!isString(primaryProp.value)) {
|
||||
row.name.iconCssClass += ` parent-row-styling`;
|
||||
row.primary.iconCssClass += ` parent-row-styling`;
|
||||
@@ -459,6 +461,7 @@ export class ExecutionPlanComparisonPropertiesView extends ExecutionPlanProperti
|
||||
};
|
||||
|
||||
rows.push(row);
|
||||
|
||||
if (!isString(secondaryProp.value)) {
|
||||
row.name.iconCssClass += ` parent-row-styling`;
|
||||
row.secondary.iconCssClass += ` parent-row-styling`;
|
||||
@@ -475,6 +478,7 @@ export class ExecutionPlanComparisonPropertiesView extends ExecutionPlanProperti
|
||||
if (this._orientation === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._orientation = value;
|
||||
this.updatePropertyContainerTitles();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user