Skip to content

Commit ee472bf

Browse files
committed
fix bug
1 parent 2b6b0a9 commit ee472bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ qx.Class.define("osparc.study.PricingUnits", {
5858
if (preselectedPricingUnit) {
5959
const buttonFound = buttons.find(button => button.getUnitData().getPricingUnitId() === preselectedPricingUnit["pricingUnitId"]);
6060
if (buttonFound) {
61-
buttonFound.execute();
61+
buttonFound.setValue(true);
6262
}
6363
} else {
6464
// preselect default
6565
buttons.forEach(button => {
6666
if (button.getUnitData().isDefault()) {
67-
button.execute();
67+
button.setValue(true);
6868
}
6969
});
7070
}

0 commit comments

Comments
 (0)