File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
services/static-webserver/client/source/class/osparc/conversation Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 = ( ) => {
You can’t perform that action at this time.
0 commit comments