We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b6241 commit bc2990eCopy full SHA for bc2990e
services/static-webserver/client/source/class/osparc/store/Pricing.js
@@ -82,7 +82,7 @@ qx.Class.define("osparc.store.Pricing", {
82
},
83
84
fetchPricingUnits: function(pricingPlanId) {
85
- if (this.getPricingPlan(pricingPlanId)) {
+ if (this.getPricingPlan(pricingPlanId) && this.getPricingPlan(pricingPlanId).getPricingUnits().length !== 0) {
86
return new Promise(resolve => resolve(this.getPricingPlan(pricingPlanId).getPricingUnits()));
87
}
88
const params = {
0 commit comments