Skip to content

Commit 814f65c

Browse files
committed
getAllMyGroupIds
1 parent 1977626 commit 814f65c

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ qx.Class.define("osparc.store.Groups", {
174174
this.getMyGroupId(),
175175
...this.getOrganizationIds().map(gId => parseInt(gId))
176176
];
177-
if (this.getEveryoneProductGroup()) {
178-
allMyGroupIds.push(this.getEveryoneProductGroup().getGroupId());
177+
const supportGroup = this.getSupportGroup();
178+
if (supportGroup && !allMyGroupIds.includes(supportGroup.getGroupId())) {
179+
allMyGroupIds.push(supportGroup.getGroupId());
179180
}
180181
if (this.getEveryoneGroup()) {
181182
allMyGroupIds.push(this.getEveryoneGroup().getGroupId());

0 commit comments

Comments
 (0)