Skip to content

Commit f45251b

Browse files
committed
rename
1 parent 47f3f62 commit f45251b

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -769,18 +769,18 @@ qx.Class.define("osparc.dashboard.CardBase", {
769769
},
770770

771771
__applyState: function(state) {
772-
let lockInUse = false;
772+
let projectInUse = false;
773773
if ("locked" in state && "value" in state["locked"]) {
774-
lockInUse = state["locked"]["value"];
774+
projectInUse = state["locked"]["value"];
775775
}
776+
776777
if (osparc.utils.DisabledPlugins.isSimultaneousAccessEnabled()) {
777-
if (lockInUse && "OPENED" === state["locked"]["status"]) {
778+
if (projectInUse && "OPENED" === state["locked"]["status"]) {
778779
this.__showWhoIsIn(state["locked"]["owner"]);
779780
}
780781
} else {
781-
this.setBlocked(lockInUse ? "IN_USE" : false);
782-
783-
if (lockInUse) {
782+
this.setBlocked(projectInUse ? "IN_USE" : false);
783+
if (projectInUse) {
784784
this.__showBlockedCardFromStatus("IN_USE", state["locked"]);
785785
}
786786
}

0 commit comments

Comments
 (0)