File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
services/static-webserver/client/source/class/osparc/support Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -201,31 +201,5 @@ qx.Class.define("osparc.support.SupportCenter", {
201201 conversationPage . proposeConversation ( type ) ;
202202 this . __showConversation ( ) ;
203203 } ,
204-
205- // OM remove this
206- createConversationBookCall : function ( ) {
207- const conversationPage = this . getChildControl ( "conversation-page" ) ;
208- conversationPage . setConversation ( null ) ;
209- this . __showConversation ( ) ;
210- conversationPage . postMessage ( osparc . support . SupportCenter . REQUEST_CALL_MESSAGE )
211- . then ( data => {
212- const conversationId = data [ "conversationId" ] ;
213- osparc . store . ConversationsSupport . getInstance ( ) . getConversation ( conversationId )
214- . then ( conversation => {
215- // update conversation name and patch extra_context
216- conversation . renameConversation ( "Book a call" ) ;
217- conversation . patchExtraContext ( {
218- ...conversation . getExtraContext ( ) ,
219- "appointment" : "requested"
220- } ) ;
221- // This should be an automatic response in the chat
222- const msg = this . tr ( "Your request has been sent.<br>Our support team will get back to you." ) ;
223- osparc . FlashMessenger . logAs ( msg , "INFO" ) ;
224- } ) ;
225- } )
226- . catch ( err => {
227- console . error ( "Error sending request call message" , err ) ;
228- } ) ;
229- } ,
230204 }
231205} ) ;
You can’t perform that action at this time.
0 commit comments