Skip to content

Commit 5ab8d23

Browse files
committed
rename
1 parent 4448bff commit 5ab8d23

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

services/static-webserver/client/source/class/osparc/share/Collaborators.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ qx.Class.define("osparc.share.Collaborators", {
3535

3636
this.__buildLayout();
3737

38-
this.__collaborators = {};
38+
this.__potentialCollaborators = {};
3939
initCollabs.forEach(initCollab => {
40-
this.__collaborators[initCollab.getGroupId()] = initCollab;
40+
this.__potentialCollaborators[initCollab.getGroupId()] = initCollab;
4141
});
4242
this.__getCollaborators();
4343
},
@@ -158,7 +158,7 @@ qx.Class.define("osparc.share.Collaborators", {
158158
_resourceType: null,
159159
__addCollaborators: null,
160160
__collaboratorsModel: null,
161-
__collaborators: null,
161+
__potentialCollaborators: null,
162162

163163
_createChildControlImpl: function(id) {
164164
let control;
@@ -341,8 +341,8 @@ qx.Class.define("osparc.share.Collaborators", {
341341
},
342342

343343
__getCollaborators: function() {
344-
const potentialCollaborators = osparc.store.Groups.getInstance().getPotentialCollaborators()
345-
this.__collaborators = Object.assign(this.__collaborators, potentialCollaborators);
344+
const potentialCollaborators = osparc.store.Groups.getInstance().getPotentialCollaborators();
345+
this.__potentialCollaborators = Object.assign(this.__potentialCollaborators, potentialCollaborators);
346346
this._reloadCollaboratorsList();
347347
},
348348

0 commit comments

Comments
 (0)