File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
services/static-webserver/client/source/class/osparc/data/model Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ qx.Class.define("osparc.data.model.NodeLockState", {
5151 } ,
5252
5353 members : {
54- __currentUserGroupIds : function ( currentUserGroupIds ) {
55- console . log ( currentUserGroupIds ) ;
56- } ,
57-
5854 stateReceived : function ( state ) {
5955 if ( state ) {
6056 this . set ( {
61- currentUserGroupIds : state . currentUserGroupIds || [ ] ,
62- locked : state . locked || false ,
63- status : state . status || "NOT_STARTED" ,
57+ currentUserGroupIds : "current_user_groupids" in state ? state [ "current_user_groupids" ] : [ ] ,
58+ locked : "locked" in state ? state [ " locked" ] : false ,
59+ status : "status" in state ? state [ " status" ] : "NOT_STARTED" ,
6460 } ) ;
6561 }
6662 } ,
63+
64+ __currentUserGroupIds : function ( currentUserGroupIds ) {
65+ console . log ( "currentUserGroupIds" , currentUserGroupIds ) ;
66+ } ,
6767 }
6868} ) ;
You can’t perform that action at this time.
0 commit comments