Skip to content

Commit

Permalink
[skip ci] list units
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Dec 9, 2024
1 parent 973e8b6 commit b80e61a
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ qx.Class.define("osparc.store.Pricing", {
.then(pricingPlanData => {
const pricingPlan = this.__addToCache(pricingPlanData);
const pricingUnits = pricingPlan.getPricingUnits();
pricingUnits.forEach(pricingUnit => {
pricingPlan.bind("classification", pricingUnit, "classification");
})
pricingUnits.length = 0;
pricingPlanData["pricingUnits"].forEach(pricingUnitData => {
this.__addPricingUnitToCache(pricingPlan, pricingUnitData);
});
return pricingUnits;
});
},
Expand Down

0 comments on commit b80e61a

Please sign in to comment.