File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
services/static-webserver/client/source/class/osparc/store Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments