Skip to content

Commit f38f4ee

Browse files
committed
fix
1 parent e07b039 commit f38f4ee

File tree

1 file changed

+2
-2
lines changed
  • services/static-webserver/client/source/class/osparc/conversation

1 file changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/conversation/Conversation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ qx.Class.define("osparc.conversation.Conversation", {
8282
};
8383
const renameButton = new qx.ui.form.Button(null, "@FontAwesome5Solid/pencil-alt/10").set({
8484
...buttonsAesthetics,
85-
visibility: osparc.data.model.Study.canIWrite(this.__studyData["accessRights"]),
85+
visibility: osparc.data.model.Study.canIWrite(this.__studyData["accessRights"]) ? "visible" : "excluded",
8686
});
8787
renameButton.addListener("execute", () => {
8888
const titleEditor = new osparc.widget.Renamer(tabButton.getLabel());
@@ -113,7 +113,7 @@ qx.Class.define("osparc.conversation.Conversation", {
113113
const closeButton = new qx.ui.form.Button(null, "@FontAwesome5Solid/times/12").set({
114114
...buttonsAesthetics,
115115
paddingLeft: 4, // adds spacing between buttons
116-
visibility: osparc.data.model.Study.canIWrite(this.__studyData["accessRights"]),
116+
visibility: osparc.data.model.Study.canIWrite(this.__studyData["accessRights"]) ? "visible" : "excluded",
117117
});
118118
closeButton.addListener("execute", () => {
119119
const deleteConversation = () => {

0 commit comments

Comments
 (0)