File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1663,10 +1663,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
16631663 const destWorkspaceId = data [ "workspaceId" ] ;
16641664 const destFolderId = data [ "folderId" ] ;
16651665 const moveStudy = ( ) => {
1666- Promise . all ( [
1667- this . __moveStudyToWorkspace ( studyData , destWorkspaceId ) ,
1668- this . __moveStudyToFolder ( studyData , destFolderId ) ,
1669- ] )
1666+ this . __moveStudyToWorkspace ( studyData , destWorkspaceId ) // first move to workspace
1667+ . then ( ( ) => this . __moveStudyToFolder ( studyData , destFolderId ) ) // then move to folder
16701668 . then ( ( ) => this . __removeFromStudyList ( studyData [ "uuid" ] ) )
16711669 . catch ( err => {
16721670 console . error ( err ) ;
You can’t perform that action at this time.
0 commit comments