Skip to content

Commit 8f9cca7

Browse files
committed
amIASupportUser
1 parent e1f41dd commit 8f9cca7

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ qx.Class.define("osparc.store.Products", {
133133
amIASupportUser: function() {
134134
const supportGroupId = this.getSupportGroupId();
135135
const groupsStore = osparc.store.Groups.getInstance();
136-
const myGroupIds = groupsStore.getOrganizationIds();
136+
const myGroupIds = groupsStore.getOrganizationIds().map(gId => parseInt(gId));
137137
return (supportGroupId && myGroupIds.includes(supportGroupId));
138138
},
139139
}

0 commit comments

Comments
 (0)