Skip to content

Commit 6014058

Browse files
committed
propagate
1 parent d1b1353 commit 6014058

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

services/static-webserver/client/source/class/osparc/workbench/Annotation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ qx.Class.define("osparc.workbench.Annotation", {
121121
break;
122122
case this.self().TYPES.CONVERSATION: {
123123
const text = `${attrs.x}, ${attrs.y}`;
124-
representation = this.__svgLayer.drawAnnotationConversation(attrs.x, attrs.y, text);
124+
representation = this.__svgLayer.drawAnnotationConversation(attrs.x, attrs.y, attrs.title);
125125
break;
126126
}
127127
}

services/static-webserver/client/source/class/osparc/workbench/WorkbenchUI.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1977,9 +1977,10 @@ qx.Class.define("osparc.workbench.WorkbenchUI", {
19771977
}
19781978
case annotationTypes.CONVERSATION: {
19791979
const conversationTitle = `${initPos.x}, ${initPos.y}`;
1980-
osparc.study.Conversations.addConversation(this.getStudy().getUuid(), conversationTitle, osparc.study.Conversations.PROJECT_ANNOTATION)
1980+
osparc.study.Conversations.addConversation(this.getStudy().getUuid(), conversationTitle, osparc.study.Conversations.TYPES.PROJECT_ANNOTATION)
19811981
.then(conversationData => {
19821982
serializeData.attributes.conversationId = conversationData["conversationId"];
1983+
serializeData.attributes.title = conversationData["name"];
19831984
this.__addAnnotation(serializeData);
19841985
osparc.study.Conversations.popUpInWindow(this.getStudy().serialize(), conversationData["conversationId"]);
19851986
});

0 commit comments

Comments
 (0)