Skip to content

Commit 899b362

Browse files
committed
fix sharing
1 parent 56ea538 commit 899b362

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ qx.Class.define("osparc.share.NewCollaboratorsManager", {
3535

3636
this.__shareWithEmailEnabled = false;
3737
if (this.__resourceData["resourceType"] === "study") {
38-
osparc.utils.DisabledPlugins.isShareWithEmailEnabled()
39-
.then(isEnabled => {
40-
if (isEnabled) {
41-
this.__shareWithEmailEnabled = true;
42-
}
43-
});
38+
this.__shareWithEmailEnabled = osparc.utils.DisabledPlugins.isShareWithEmailEnabled();
4439
}
4540

4641
this.center();

0 commit comments

Comments
 (0)