From 42da36295334fd212431bb00326631890f49f9a8 Mon Sep 17 00:00:00 2001 From: Odei Maiz <33152403+odeimaiz@users.noreply.github.com> Date: Tue, 31 Oct 2023 17:07:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Demo=20fixes=20(#4962)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../client/source/class/osparc/dashboard/StudyBrowser.js | 3 ++- .../client/source/class/osparc/desktop/credits/AutoRecharge.js | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js b/services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js index 1be8bfd035d..ee5ca03b299 100644 --- a/services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js +++ b/services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js @@ -768,7 +768,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", { }; osparc.data.Resources.fetch("studies", "delete", params, studyId); }; - this._startStudyById(studyId, openCB, cancelCB); + const isStudyCreation = true; + this._startStudyById(studyId, openCB, cancelCB, isStudyCreation); }) .catch(err => { this._hideLoadingPage(); diff --git a/services/static-webserver/client/source/class/osparc/desktop/credits/AutoRecharge.js b/services/static-webserver/client/source/class/osparc/desktop/credits/AutoRecharge.js index ff741462118..b54d99b6035 100644 --- a/services/static-webserver/client/source/class/osparc/desktop/credits/AutoRecharge.js +++ b/services/static-webserver/client/source/class/osparc/desktop/credits/AutoRecharge.js @@ -229,9 +229,8 @@ qx.Class.define("osparc.desktop.credits.AutoRecharge", { __getFieldsData: function() { return { - minBalanceInUsd: 0, topUpAmountInUsd: this.__topUpAmountField.getValue(), - topUpCountdown: 30, + monthlyLimitInUsd: this.__monthlyLimitField.getValue(), paymentMethodId: this.__paymentMethodField.getSelection()[0].getModel() }; },