Skip to content

Commit bfbbfea

Browse files
committed
minor
1 parent f34e508 commit bfbbfea

File tree

1 file changed

+4
-4
lines changed
  • services/static-webserver/client/source/class/osparc/conversation

1 file changed

+4
-4
lines changed

services/static-webserver/client/source/class/osparc/conversation/Conversation.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ qx.Class.define("osparc.conversation.Conversation", {
109109
column: 3
110110
});
111111

112-
const trashButton = new qx.ui.form.Button(null, "@FontAwesome5Solid/times/12").set({
112+
const closeButton = new qx.ui.form.Button(null, "@FontAwesome5Solid/times/12").set({
113113
...buttonsAesthetics,
114114
paddingLeft: 4, // adds spacing between buttons
115115
});
116-
trashButton.addListener("execute", () => {
116+
closeButton.addListener("execute", () => {
117117
const deleteConversation = () => {
118118
osparc.study.Conversations.deleteConversation(this.__studyData["uuid"], this.getConversationId())
119119
.then(() => this.fireEvent("conversationDeleted"));
@@ -136,11 +136,11 @@ qx.Class.define("osparc.conversation.Conversation", {
136136
}
137137
});
138138
// eslint-disable-next-line no-underscore-dangle
139-
tabButton._add(trashButton, {
139+
tabButton._add(closeButton, {
140140
row: 0,
141141
column: 4
142142
});
143-
this.bind("conversationId", trashButton, "visibility", {
143+
this.bind("conversationId", closeButton, "visibility", {
144144
converter: value => value ? "visible" : "excluded"
145145
});
146146
},

0 commit comments

Comments
 (0)