Skip to content

Commit 6bb8797

Browse files
committed
fix
1 parent 822db1c commit 6bb8797

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

services/static-webserver/client/source/class/osparc/data/model/NodeLockState.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)