Skip to content

Commit 9286e94

Browse files
committed
[skip ci] last moving
1 parent dff90b6 commit 9286e94

File tree

1 file changed

+2
-4
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+2
-4
lines changed

services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)