Skip to content

Commit 642232f

Browse files
committed
no caching
1 parent f8a904c commit 642232f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,12 @@ qx.Class.define("osparc.store.Conversations", {
1919
extend: qx.core.Object,
2020
type: "singleton",
2121

22-
construct: function() {
23-
this.base(arguments);
24-
25-
this.__projectConversations = {};
26-
},
27-
2822
events: {
2923
"conversationRenamed": "qx.event.type.Data",
3024
"conversationDeleted": "qx.event.type.Data",
3125
},
3226

3327
members: {
34-
__projectConversations: null,
35-
3628
getConversations: function(studyId) {
3729
const params = {
3830
url: {
@@ -47,7 +39,6 @@ qx.Class.define("osparc.store.Conversations", {
4739
// Sort conversations by created date, oldest first (the new ones will be next to the plus button)
4840
conversations.sort((a, b) => new Date(a["created"]) - new Date(b["created"]));
4941
}
50-
// OM add to cache
5142
return conversations;
5243
})
5344
.catch(err => osparc.FlashMessenger.logError(err));
@@ -64,10 +55,6 @@ qx.Class.define("osparc.store.Conversations", {
6455
}
6556
};
6657
return osparc.data.Resources.fetch("conversations", "addConversation", params)
67-
.then(conversation => {
68-
// OM add to cache
69-
return conversation;
70-
})
7158
.catch(err => osparc.FlashMessenger.logError(err));
7259
},
7360

0 commit comments

Comments
 (0)