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