Skip to content

Commit a5d39ef

Browse files
committed
minor
1 parent 7c5e62e commit a5d39ef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

services/static-webserver/client/source/class/osparc/po/UsersPending.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ qx.Class.define("osparc.po.UsersPending", {
8686
},
8787
};
8888
params.data["invitation"] = {};
89-
const extraCreditsInUsd = form.getItems()["credits"].getValue();
90-
if (extraCreditsInUsd > 0) {
91-
params.data["invitation"]["extraCreditsInUsd"] = extraCreditsInUsd;
89+
if (form.getItems()["credits"].getValue() > 0) {
90+
params.data["invitation"]["extraCreditsInUsd"] = form.getItems()["credits"].getValue();
9291
}
9392
if (form.getItems()["withExpiration"].getValue()) {
9493
params.data["invitation"]["trialAccountDays"] = form.getItems()["trialDays"].getValue();

0 commit comments

Comments
 (0)