Skip to content

Commit 02a370f

Browse files
committed
minor
1 parent a7440ae commit 02a370f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ qx.Class.define("osparc.study.StudyPreview", {
3737
__buildPreview: function() {
3838
const study = this.__study;
3939

40-
const studyReady = () => {
40+
const workbenchReady = () => {
4141
if (!study.isPipelineEmpty()) {
4242
const workbenchUIPreview = new osparc.workbench.WorkbenchUIPreview();
4343
workbenchUIPreview.setStudy(study);
@@ -50,11 +50,11 @@ qx.Class.define("osparc.study.StudyPreview", {
5050
const uiMode = study.getUi().getMode();
5151
if (["workbench", "pipeline"].includes(uiMode)) {
5252
if (study.getWorkbench().isDeserialized()) {
53-
studyReady();
53+
workbenchReady();
5454
} else {
5555
study.getWorkbench().addListener("changeDeserialized", e => {
5656
if (e.getData()) {
57-
studyReady();
57+
workbenchReady();
5858
}
5959
}, this);
6060
}

0 commit comments

Comments
 (0)