Skip to content

Commit d0ed40f

Browse files
committed
don't block card
1 parent effd97b commit d0ed40f

File tree

1 file changed

+6
-3
lines changed
  • services/static-webserver/client/source/class/osparc/study

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,15 @@ qx.Class.define("osparc.study.Utils", {
407407
return "UNKNOWN_SERVICES";
408408
}
409409
}
410-
if (studyData["state"] && studyData["state"]["locked"] && studyData["state"]["locked"]["value"]) {
411-
return "IN_USE";
412-
}
413410
if (this.isInDebt(studyData)) {
414411
return "IN_DEBT";
415412
}
413+
if (studyData["state"] && studyData["state"]["locked"] && studyData["state"]["locked"]["value"]) {
414+
if (osparc.utils.DisabledPlugins.isSimultaneousAccessEnabled()) {
415+
return false;
416+
}
417+
return "IN_USE";
418+
}
416419
return false;
417420
},
418421

0 commit comments

Comments
 (0)