Skip to content

Commit 02ea277

Browse files
committed
the parent widget will handle the patching
1 parent 7ec0fdf commit 02ea277

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/static-webserver/client/source/class/osparc/study/NodePricingUnits.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ qx.Class.define("osparc.study.NodePricingUnits", {
113113
.then(() => pricingUnitTiers.setSelectedUnitId(newSelectedPricingUnit.getPricingUnitId()))
114114
.catch(err => osparc.FlashMessenger.logError(err, this.tr("Cannot change Tier")))
115115
.finally(() => pricingUnitTiers.setEnabled(true));
116+
} else {
117+
// do not patch node, just update the selected unit (the parent widget will handle the patching)
118+
pricingUnitTiers.setSelectedUnitId(newSelectedPricingUnit.getPricingUnitId());
116119
}
117120
});
118121
}

0 commit comments

Comments
 (0)