Skip to content

Commit e07b039

Browse files
committed
rename and delete
1 parent ef1cb97 commit e07b039

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +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"]),
8586
});
8687
renameButton.addListener("execute", () => {
8788
const titleEditor = new osparc.widget.Renamer(tabButton.getLabel());
@@ -112,6 +113,7 @@ qx.Class.define("osparc.conversation.Conversation", {
112113
const closeButton = new qx.ui.form.Button(null, "@FontAwesome5Solid/times/12").set({
113114
...buttonsAesthetics,
114115
paddingLeft: 4, // adds spacing between buttons
116+
visibility: osparc.data.model.Study.canIWrite(this.__studyData["accessRights"]),
115117
});
116118
closeButton.addListener("execute", () => {
117119
const deleteConversation = () => {

0 commit comments

Comments
 (0)