Skip to content

Commit 20e35b5

Browse files
committed
fix
1 parent 32b9762 commit 20e35b5

File tree

1 file changed

+3
-8
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+3
-8
lines changed

services/static-webserver/client/source/class/osparc/store/Groups.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,9 @@ qx.Class.define("osparc.store.Groups", {
190190
potentialCollaborators[gid] = members[gid];
191191
}
192192
if (includeMe) {
193-
const myData = osparc.auth.Data.getInstance();
194-
const myGid = myData.getGroupId();
195-
potentialCollaborators[myGid] = {
196-
"login": myData.getEmail(),
197-
"first_name": myData.getFirstName(),
198-
"last_name": myData.getLastName(),
199-
"collabType": 2
200-
};
193+
const myGroup = this.getGroupMe();
194+
myGroup["collabType"] = 2;
195+
potentialCollaborators[myGroup.getGroupId()] = myGroup;
201196
}
202197
if (includeProductEveryone && productEveryone) {
203198
productEveryone["collabType"] = 0;

0 commit comments

Comments
 (0)