Skip to content

Commit b6e876c

Browse files
committed
fixed
1 parent 26c41fd commit b6e876c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ qx.Class.define("osparc.share.Collaborators", {
2222
/**
2323
* @param serializedDataCopy {Object} Object containing the Serialized Data
2424
*/
25-
construct: function(serializedDataCopy, initCollabs = []) {
25+
construct: function(serializedDataCopy) {
2626
this.base(arguments);
2727

2828
this._serializedDataCopy = serializedDataCopy;
@@ -365,7 +365,11 @@ qx.Class.define("osparc.share.Collaborators", {
365365
win.open();
366366
win.addListener("close", () => {
367367
if (win.getConfirmed()) {
368-
this._deleteMember({gid: myGid})
368+
const collaborator = {
369+
gid: myGid,
370+
name: osparc.store.Groups.getInstance().getGroupMe().getLabel(),
371+
}
372+
this._deleteMember(collaborator)
369373
.then(() => {
370374
qx.event.message.Bus.dispatchByName("reloadStudies");
371375
});

0 commit comments

Comments
 (0)