Skip to content

Commit 377d3cd

Browse files
committed
all good
1 parent 0c47cd9 commit 377d3cd

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ qx.Class.define("osparc.support.ConversationPage", {
7777
break;
7878
case "conversation-title":
7979
control = new qx.ui.basic.Label().set({
80+
font: "text-14",
8081
alignY: "middle",
8182
allowGrowX: true,
8283
});
@@ -101,8 +102,10 @@ qx.Class.define("osparc.support.ConversationPage", {
101102
break;
102103
case "conversation-extra-content":
103104
control = new qx.ui.basic.Label().set({
104-
alignY: "middle",
105+
font: "text-12",
106+
rich: true,
105107
allowGrowX: true,
108+
selectable: true,
106109
});
107110
this.getChildControl("conversation-header-layout").add(control, {
108111
row: 1,
@@ -142,12 +145,12 @@ qx.Class.define("osparc.support.ConversationPage", {
142145
extraContextLabel.setVisibility(amISupporter ? "visible" : "excluded");
143146
const extraContext = conversation.getExtraContext();
144147
if (amISupporter && extraContext && Object.keys(extraContext).length) {
145-
let extraContext = "";
146-
extraContext += `ID: ${conversationId}<br>`;
148+
let extraContextText = "";
149+
extraContextText += `ID: ${conversationId}<br>`;
147150
if ("projectId" in extraContext) {
148-
extraContext += `Project ID: ${extraContext["projectId"]}<br>`;
151+
extraContextText += `Project ID: ${extraContext["projectId"]}<br>`;
149152
}
150-
extraContextLabel.setValue(extraContext);
153+
extraContextLabel.setValue(extraContextText);
151154
}
152155
});
153156
} else {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ qx.Class.define("osparc.support.Conversations", {
7070
},
7171

7272
__getConversationItem: function(conversationId) {
73-
return this.__conversationListItems.find(conversation => conversation.getConversationId() === conversationId);
73+
return this.__conversationListItems.find(conversation => conversation.getConversation().getConversationId() === conversationId);
7474
},
7575

7676
__fetchConversations: function() {

0 commit comments

Comments
 (0)