Skip to content

Commit af3dc50

Browse files
committed
conversationDeleted
1 parent cce8c8b commit af3dc50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-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
@@ -126,7 +126,7 @@ qx.Class.define("osparc.workbench.Annotation", {
126126
if (conversationId) {
127127
osparc.store.Conversations.getInstance().addListener("conversationRenamed", e => {
128128
const data = e.getData();
129-
if (data.conversationId === conversationId) {
129+
if (conversationId === data["conversationId"]) {
130130
this.setText(data.name);
131131
}
132132
}, this);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2018,7 +2018,7 @@ qx.Class.define("osparc.workbench.WorkbenchUI", {
20182018
if (annotation.getType() === osparc.workbench.Annotation.TYPES.CONVERSATION) {
20192019
osparc.store.Conversations.getInstance().addListener("conversationDeleted", e => {
20202020
const data = e.getData();
2021-
if (data.getAttributes()["conversationId"] === conversationId) {
2021+
if (annotation.getAttributes()["conversationId"] === data["conversationId"]) {
20222022
this.__removeAnnotation(annotation.getId());
20232023
}
20242024
}, this);

0 commit comments

Comments
 (0)