Skip to content

Commit ea3b20d

Browse files
committed
minor
1 parent d2d60e6 commit ea3b20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/static-webserver/client/source/class/osparc/dashboard/ResourceBrowserBase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ qx.Class.define("osparc.dashboard.ResourceBrowserBase", {
126126
osparc.store.Study.getInstance().getOne(studyId),
127127
]).then(([wallet, latestStudyData]) => {
128128
const currentUserGroupIds = osparc.study.Utils.state.getCurrentGroupIds(latestStudyData["state"]);
129-
const isRTCEnabled = osparc.utils.DisabledPlugins.isRTCEnabled();
130129
if (
131130
isStudyCreation ||
132131
wallet === null ||
@@ -176,6 +175,7 @@ qx.Class.define("osparc.dashboard.ResourceBrowserBase", {
176175
openStudy();
177176
} else {
178177
// cancel and explain the user why
178+
const isRTCEnabled = osparc.utils.DisabledPlugins.isRTCEnabled();
179179
const msg = isRTCEnabled ?
180180
qx.locale.Manager.tr("You can't join the project because you don't have access to the Credit Account associated with it. Please contact the project owner.") :
181181
qx.locale.Manager.tr("You can't join the project because it's already open by another user.");

0 commit comments

Comments
 (0)