Skip to content

Commit 05066fe

Browse files
committed
reportOEC
1 parent 038d560 commit 05066fe

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

services/static-webserver/client/source/class/osparc/support/SupportCenter.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,10 @@ qx.Class.define("osparc.support.SupportCenter", {
193193
conversationPage.setConversation(conversation);
194194
this.__showConversation();
195195
});
196-
} else {
197-
conversationPage.setConversation(null);
198-
this.__showConversation();
199196
}
200197
},
201198

199+
// type can be "askAQuestion", "bookACall" or "reportOEC"
202200
createConversation: function(type) {
203201
type = type || "askAQuestion";
204202
const conversationPage = this.getChildControl("conversation-page");

services/static-webserver/client/source/class/osparc/ui/message/FlashMessageOEC.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ qx.Class.define("osparc.ui.message.FlashMessageOEC", {
114114

115115
__openSupportChat: function() {
116116
const supportCenter = osparc.support.SupportCenter.openWindow();
117-
supportCenter.openConversation(null);
117+
supportCenter.createConversation("reportOEC");
118118

119119
const textToAddMessageField = msg => {
120120
if (supportCenter.getChildControl("conversation-page")) {

0 commit comments

Comments
 (0)