mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Shows not equal operator when comparing non-null props to null props (#20740)
This commit is contained in:
@@ -419,9 +419,16 @@ export class ExecutionPlanComparisonPropertiesView extends ExecutionPlanProperti
|
|||||||
|
|
||||||
} else if (primaryProp && !secondaryProp) {
|
} else if (primaryProp && !secondaryProp) {
|
||||||
row.displayOrder = v.primaryProp.displayOrder;
|
row.displayOrder = v.primaryProp.displayOrder;
|
||||||
|
|
||||||
row.primary = {
|
row.primary = {
|
||||||
text: v.primaryProp.displayValue
|
text: v.primaryProp.displayValue
|
||||||
};
|
};
|
||||||
|
|
||||||
|
row.icon = {
|
||||||
|
iconCssClass: executionPlanComparisonPropertiesDifferent,
|
||||||
|
title: notEqualTitle
|
||||||
|
};
|
||||||
|
|
||||||
rows.push(row);
|
rows.push(row);
|
||||||
if (!isString(primaryProp.value)) {
|
if (!isString(primaryProp.value)) {
|
||||||
row.name.iconCssClass += ` parent-row-styling`;
|
row.name.iconCssClass += ` parent-row-styling`;
|
||||||
@@ -430,10 +437,17 @@ export class ExecutionPlanComparisonPropertiesView extends ExecutionPlanProperti
|
|||||||
}
|
}
|
||||||
} else if (!primaryProp && secondaryProp) {
|
} else if (!primaryProp && secondaryProp) {
|
||||||
row.displayOrder = v.secondaryProp.displayOrder;
|
row.displayOrder = v.secondaryProp.displayOrder;
|
||||||
|
|
||||||
row.secondary = {
|
row.secondary = {
|
||||||
title: v.secondaryProp.displayValue,
|
title: v.secondaryProp.displayValue,
|
||||||
iconCssClass: ''
|
iconCssClass: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
|
row.icon = {
|
||||||
|
iconCssClass: executionPlanComparisonPropertiesDifferent,
|
||||||
|
title: notEqualTitle
|
||||||
|
};
|
||||||
|
|
||||||
rows.push(row);
|
rows.push(row);
|
||||||
if (!isString(secondaryProp.value)) {
|
if (!isString(secondaryProp.value)) {
|
||||||
row.name.iconCssClass += ` parent-row-styling`;
|
row.name.iconCssClass += ` parent-row-styling`;
|
||||||
|
|||||||
Reference in New Issue
Block a user