Skip to content

Commit b0eb57e

Browse files
committed
rename event
1 parent 9604d09 commit b0eb57e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ qx.Class.define("osparc.support.ConversationPage", {
4444
},
4545

4646
events: {
47-
"showConversations": "qx.event.type.Event",
47+
"backToConversations": "qx.event.type.Event",
4848
},
4949

5050
members: {
@@ -68,8 +68,9 @@ qx.Class.define("osparc.support.ConversationPage", {
6868
backgroundColor: "transparent"
6969
});
7070
control.addListener("execute", () => {
71+
this.getConversation().setReadBy(true);
7172
this.setConversation(null);
72-
this.fireEvent("showConversations");
73+
this.fireEvent("backToConversations");
7374
});
7475
this.getChildControl("conversation-header-layout").addAt(control, 0);
7576
break;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ qx.Class.define("osparc.support.SupportCenter", {
146146
break;
147147
case "conversation-page":
148148
control = new osparc.support.ConversationPage();
149-
control.addListener("showConversations", () => this.showConversations(), this);
149+
control.addListener("backToConversations", () => this.showConversations(), this);
150150
this.getChildControl("conversations-stack").add(control);
151151
break;
152152
}

0 commit comments

Comments
 (0)