Skip to content

Commit ff18a24

Browse files
committed
renaming
1 parent db89866 commit ff18a24

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/static-webserver/client/source/class/osparc/node/TierSelectionView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ qx.Class.define("osparc.node.TierSelectionView", {
105105
if (selection.length) {
106106
tierBox.setEnabled(false);
107107
const selectedUnitId = selection[0].getModel();
108-
osparc.study.NodePricingUnits.pricingUnitSelected(studyId, nodeId, pricingPlans["pricingPlanId"], selectedUnitId)
108+
osparc.study.NodePricingUnits.patchPricingUnitSelection(studyId, nodeId, pricingPlans["pricingPlanId"], selectedUnitId)
109109
.finally(() => {
110110
tierBox.setEnabled(true);
111111
showSelectedTier(selectedUnitId);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ qx.Class.define("osparc.study.NodePricingUnits", {
4444
},
4545

4646
statics: {
47-
pricingUnitSelected: function(studyId, nodeId, planId, selectedUnitId) {
47+
patchPricingUnitSelection: function(studyId, nodeId, planId, selectedUnitId) {
4848
const params = {
4949
url: {
5050
studyId,
@@ -101,7 +101,7 @@ qx.Class.define("osparc.study.NodePricingUnits", {
101101
unitButtons.addListener("changeSelectedUnitId", e => {
102102
unitButtons.setEnabled(false);
103103
const selectedPricingUnitId = e.getData();
104-
this.self().pricingUnitSelected(this.__studyId, this.__nodeId, pricingPlans["pricingPlanId"], selectedPricingUnitId)
104+
this.self().patchPricingUnitSelection(this.__studyId, this.__nodeId, pricingPlans["pricingPlanId"], selectedPricingUnitId)
105105
.finally(() => unitButtons.setEnabled(true));
106106
});
107107
}

0 commit comments

Comments
 (0)