Skip to content

Commit 566a6fd

Browse files
committed
return studyData
1 parent dbcc99f commit 566a6fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
11991199
folderId: this.getCurrentFolderId(),
12001200
};
12011201
osparc.study.Utils.createStudyFromTemplate(templateCopyData, this._loadingPage, contextProps)
1202-
.then(studyId => this.__startStudyAfterCreating(studyId))
1202+
.then(studyData => this.__startStudyAfterCreating(studyData["uuid"]))
12031203
.catch(err => {
12041204
this._hideLoadingPage();
12051205
osparc.FlashMessenger.getInstance().logAs(err.message, "ERROR");

services/static-webserver/client/source/class/osparc/study/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ qx.Class.define("osparc.study.Utils", {
255255
}, this);
256256
task.addListener("resultReceived", e => {
257257
const studyData = e.getData();
258-
resolve(studyData["uuid"]);
258+
resolve(studyData);
259259
}, this);
260260
task.addListener("pollingError", e => {
261261
const err = e.getData();

0 commit comments

Comments
 (0)