File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments