Skip to content

Commit 5105d60

Browse files
committed
patch
1 parent 5ba40d0 commit 5105d60

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

services/static-webserver/client/source/class/osparc/store/ConversationsSupport.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ qx.Class.define("osparc.store.ConversationsSupport", {
5959
},
6060

6161
addConversation: function(extraContext = {}) {
62-
extraContext["deployment"] = window.location.href;
62+
const url = window.location.href;
63+
extraContext["deployment"] = url;
64+
extraContext["product"] = osparc.product.Utils.getProductName();
6365
const params = {
6466
data: {
6567
name: "null",
@@ -68,6 +70,11 @@ qx.Class.define("osparc.store.ConversationsSupport", {
6870
}
6971
};
7072
return osparc.data.Resources.fetch("conversationsSupport", "addConversation", params)
73+
.then(data => {
74+
// OM: todo PATCH the extra content
75+
// extraContext["conversationLink"] = `${url}#/conversation/${data["conversationId"]}`;
76+
return data;
77+
})
7178
.catch(err => osparc.FlashMessenger.logError(err));
7279
},
7380

0 commit comments

Comments
 (0)