File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
services/static-webserver/client/source/class/osparc/support Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ qx.Class.define("osparc.support.SupportCenter", {
4343
4444 statics : {
4545 WINDOW_WIDTH : 430 ,
46- REQUEST_CALL_MESSAGE : qx . locale . Manager . tr ( "Dear Support,\nI would like to make an appointment for a support call." ) ,
46+ REQUEST_CALL_MESSAGE : "Dear Support,\nI would like to make an appointment for a support call." ,
4747
4848 getMaxHeight : function ( ) {
4949 // height: max 80% of screen, or 600px
@@ -173,6 +173,14 @@ qx.Class.define("osparc.support.SupportCenter", {
173173 const conversationPage = this . getChildControl ( "conversation-page" ) ;
174174 conversationPage . setConversation ( null ) ;
175175 this . __showConversation ( ) ;
176+ conversationPage . addListenerOnce ( "changeConversation" , e => {
177+ const conversation = e . getData ( ) ;
178+ // update conversation name and patch extra_context
179+ conversation . renameConversation ( "Book a call" ) ;
180+ conversation . patchExtraContext ( {
181+ "appointment" : "requested"
182+ } ) ;
183+ } ) ;
176184 conversationPage . postMessage ( osparc . support . SupportCenter . REQUEST_CALL_MESSAGE ) ;
177185 } ,
178186 }
You can’t perform that action at this time.
0 commit comments