Skip to content

Commit bc2990e

Browse files
committed
fix units caching
1 parent a4b6241 commit bc2990e

File tree

1 file changed

+1
-1
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+1
-1
lines changed

services/static-webserver/client/source/class/osparc/store/Pricing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ qx.Class.define("osparc.store.Pricing", {
8282
},
8383

8484
fetchPricingUnits: function(pricingPlanId) {
85-
if (this.getPricingPlan(pricingPlanId)) {
85+
if (this.getPricingPlan(pricingPlanId) && this.getPricingPlan(pricingPlanId).getPricingUnits().length !== 0) {
8686
return new Promise(resolve => resolve(this.getPricingPlan(pricingPlanId).getPricingUnits()));
8787
}
8888
const params = {

0 commit comments

Comments
 (0)