We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32b9762 commit 20e35b5Copy full SHA for 20e35b5
services/static-webserver/client/source/class/osparc/store/Groups.js
@@ -190,14 +190,9 @@ qx.Class.define("osparc.store.Groups", {
190
potentialCollaborators[gid] = members[gid];
191
}
192
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
- };
+ const myGroup = this.getGroupMe();
+ myGroup["collabType"] = 2;
+ potentialCollaborators[myGroup.getGroupId()] = myGroup;
201
202
if (includeProductEveryone && productEveryone) {
203
productEveryone["collabType"] = 0;
0 commit comments