Skip to content

Commit a301a30

Browse files
committed
getPotentialCollaborators
1 parent 814f65c commit a301a30

File tree

1 file changed

+6
-0
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ qx.Class.define("osparc.store.Groups", {
259259
getPotentialCollaborators: function(includeMe = false, includeProductEveryone = false) {
260260
const potentialCollaborators = {};
261261
const orgs = this.getOrganizations();
262+
const supportGroup = this.getSupportGroup();
262263
const productEveryone = this.getEveryoneProductGroup();
263264

264265
if (includeProductEveryone && productEveryone) {
@@ -278,6 +279,11 @@ qx.Class.define("osparc.store.Groups", {
278279
}
279280
});
280281

282+
if (supportGroup && !(supportGroup.getGroupId() in potentialCollaborators)) {
283+
supportGroup["collabType"] = 1;
284+
potentialCollaborators[supportGroup.getGroupId()] = supportGroup;
285+
}
286+
281287
if (includeMe) {
282288
const myGroup = this.getGroupMe();
283289
myGroup["collabType"] = 2;

0 commit comments

Comments
 (0)