File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1645,6 +1645,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
16451645 __doMoveStudy : function ( studyData , destWorkspaceId , destFolderId ) {
16461646 this . __moveStudyToWorkspace ( studyData , destWorkspaceId ) // first move to workspace
16471647 . then ( ( ) => this . __moveStudyToFolder ( studyData , destFolderId ) ) // then move to folder
1648+ . then ( ( ) => this . __removeFromStudyList ( studyData [ "uuid" ] ) )
16481649 . catch ( err => {
16491650 console . error ( err ) ;
16501651 osparc . FlashMessenger . logAs ( err . message , "ERROR" ) ;
@@ -1713,8 +1714,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
17131714 }
17141715 } ;
17151716 return osparc . data . Resources . fetch ( "studies" , "moveToFolder" , params )
1716- . then ( ( ) => studyData [ "folderId" ] = destFolderId )
1717- . then ( ( ) => this . __removeFromStudyList ( studyData [ "uuid" ] ) ) ;
1717+ . then ( ( ) => studyData [ "folderId" ] = destFolderId ) ;
17181718 } ,
17191719
17201720 _studyToFolderRequested : function ( data ) {
You can’t perform that action at this time.
0 commit comments