File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
services/static-webserver/client/source/class/osparc/support Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ qx.Class.define("osparc.support.HomePage", {
2929 } ) ;
3030
3131 this . getChildControl ( "conversations-intro-text" ) ;
32- this . getChildControl ( "ask-a-question" ) ;
32+ if ( osparc . store . Groups . getInstance ( ) . isSupportEnabled ( ) ) {
33+ this . getChildControl ( "ask-a-question" ) ;
34+ }
3335 this . __populateButtons ( ) ;
3436 } ,
3537
@@ -69,9 +71,10 @@ qx.Class.define("osparc.support.HomePage", {
6971 break ;
7072 }
7173 case "ask-a-question" :
72- control = new qx . ui . form . Button ( this . tr ( "Ask a Question" ) , "@FontAwesome5Solid/comments/16" ) . set ( {
74+ control = new qx . ui . form . Button ( this . tr ( "Ask a Question" ) , "@FontAwesome5Solid/comments/16" ) ;
75+ osparc . support . HomePage . decorateButton ( control ) ;
76+ control . set ( {
7377 appearance : "strong-button" ,
74- font : "text-14" ,
7578 center : true ,
7679 } ) ;
7780 control . addListener ( "execute" , ( ) => this . fireEvent ( "openConversation" ) ) ;
You can’t perform that action at this time.
0 commit comments