Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Dec 9, 2024
1 parent ba99088 commit 2712dfe
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,15 @@ qx.Class.define("osparc.pricing.UnitsList", {
let pUnit = null;
if (pricingUnit.getClassification() === "LICENSE") {
pUnit = new osparc.study.PricingUnitLicense(pricingUnit).set({
showEditButton: true,
showRentButton: false,
});
} else {
pUnit = new osparc.study.PricingUnitTier(pricingUnit).set({
showAwsSpecificInfo: true,
showEditButton: true,
});
}
pUnit.set({
allowGrowY: false
showEditButton: true,
});
pUnit.addListener("editPricingUnit", () => this.__openUpdatePricingUnit(pricingUnit));
this.getChildControl("pricing-units-container").add(pUnit);
Expand Down

0 comments on commit 2712dfe

Please sign in to comment.