Skip to content

Commit 9934c4e

Browse files
committed
not needed
1 parent eb1fabd commit 9934c4e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ qx.Class.define("osparc.study.Conversations", {
154154

155155
members: {
156156
__conversations: null,
157-
__conversationPages: null,
158157
__wsHandlers: null,
159158

160159
_createChildControlImpl: function(id) {
@@ -250,7 +249,6 @@ qx.Class.define("osparc.study.Conversations", {
250249
};
251250
osparc.data.Resources.fetch("conversations", "getConversationsPage", params)
252251
.then(conversations => {
253-
this.__conversationPages = [];
254252
if (conversations.length === 0) {
255253
conversations.forEach(conversation => this.__addConversation(conversation));
256254
} else {
@@ -285,8 +283,6 @@ qx.Class.define("osparc.study.Conversations", {
285283

286284
const conversationsLayout = this.getChildControl("conversations-layout");
287285
conversationsLayout.add(temporaryConversation);
288-
289-
this.__conversationPages.push(temporaryConversation);
290286
},
291287

292288
__addConversation: function(conversationData) {
@@ -295,10 +291,7 @@ qx.Class.define("osparc.study.Conversations", {
295291
const conversationsLayout = this.getChildControl("conversations-layout");
296292
conversationsLayout.add(conversation);
297293

298-
299-
300294
this.__conversations.push(conversation);
301-
this.__conversationPages.push(conversation);
302295

303296
if (this.__newConversationButton === null) {
304297
// initialize the new button only once

0 commit comments

Comments
 (0)