File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
services/static-webserver/client/source/class/osparc/support Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -143,15 +143,18 @@ qx.Class.define("osparc.support.Conversation", {
143143 . then ( data => {
144144 const newConversation = new osparc . data . model . Conversation ( data ) ;
145145 this . setConversation ( newConversation ) ;
146- this . __postMessage ( content ) ;
146+ this . __postMessage ( content )
147+ . then ( ( ) => {
148+ this . addSystemMessage ( "A support ticket has been created.\nOur team will review your request and contact you soon." ) ;
149+ } ) ;
147150 } ) ;
148151 }
149152 } ) ;
150153 } ,
151154
152155 __postMessage : function ( content ) {
153156 const conversationId = this . getConversation ( ) . getConversationId ( ) ;
154- osparc . store . ConversationsSupport . getInstance ( ) . postMessage ( conversationId , content )
157+ return osparc . store . ConversationsSupport . getInstance ( ) . postMessage ( conversationId , content )
155158 . then ( data => {
156159 this . fireDataEvent ( "messageAdded" , data ) ;
157160 return data ;
You can’t perform that action at this time.
0 commit comments