Skip to content

Commit 3b6db0b

Browse files
committed
minor
1 parent b06487f commit 3b6db0b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

services/static-webserver/client/source/class/osparc/navigation/StudyTitleWOptions.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ qx.Class.define("osparc.navigation.StudyTitleWOptions", {
166166
study.bind("name", editTitle, "value");
167167

168168
const shareButton = this.getChildControl("study-menu-share");
169-
shareButton.setEnabled(osparc.data.model.Study.canIWrite(study.getAccessRights()));
169+
shareButton.set({
170+
visibility: osparc.auth.Data.getInstance().isGuest() ? "excluded" : "visible",
171+
enabled: osparc.data.model.Study.canIWrite(study.getAccessRights()),
172+
});
170173

171174
const reloadButton = this.getChildControl("study-menu-reload");
172175
study.getUi().bind("mode", reloadButton, "visibility", {

0 commit comments

Comments
 (0)