Skip to content

Commit a500ec8

Browse files
committed
minors
1 parent 8042a24 commit a500ec8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,10 @@ qx.Class.define("osparc.share.Collaborators", {
376376
win.open();
377377
win.addListener("close", () => {
378378
if (win.getConfirmed()) {
379-
this._deleteMember({gid: myGid});
380-
qx.event.message.Bus.dispatchByName("reloadStudies");
379+
this._deleteMember({gid: myGid})
380+
.then(() => {
381+
qx.event.message.Bus.dispatchByName("reloadStudies");
382+
});
381383
}
382384
}, this);
383385
}, this);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ qx.Class.define("osparc.share.CollaboratorsStudy", {
152152
item.setEnabled(false);
153153
}
154154

155-
osparc.info.StudyUtils.removeCollaborator(this._serializedDataCopy, collaborator["gid"])
155+
return osparc.info.StudyUtils.removeCollaborator(this._serializedDataCopy, collaborator["gid"])
156156
.then(() => {
157157
this.fireDataEvent("updateAccessRights", this._serializedDataCopy);
158158
osparc.FlashMessenger.getInstance().logAs(this.tr("Member successfully removed"));

0 commit comments

Comments
 (0)