Skip to content

Commit 8bee106

Browse files
committed
fetchStudyState
1 parent 6a0ebb0 commit 8bee106

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/static-webserver/client/source/class/osparc/desktop/MainPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ qx.Class.define("osparc.desktop.MainPage", {
309309
const currentStudy = store.getCurrentStudy();
310310
while (currentStudy.isLocked()) {
311311
await osparc.utils.Utils.sleep(1000);
312-
osparc.store.Study.getInstance().getStudyState(studyId);
312+
osparc.store.Study.getInstance().fetchStudyState(studyId);
313313
}
314314
this.__loadingPage.setMessages([]);
315315
this.__openSnapshot(studyId, snapshotId);
@@ -355,7 +355,7 @@ qx.Class.define("osparc.desktop.MainPage", {
355355
const currentStudy = store.getCurrentStudy();
356356
while (currentStudy.isLocked()) {
357357
await osparc.utils.Utils.sleep(1000);
358-
osparc.store.Study.getInstance().getStudyState(studyId);
358+
osparc.store.Study.getInstance().fetchStudyState(studyId);
359359
}
360360
this.__loadingPage.setMessages([]);
361361
this.__openIteration(iterationUuid);

services/static-webserver/client/source/class/osparc/store/Study.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ qx.Class.define("osparc.store.Study", {
178178
return osparc.data.Resources.fetch("studies", "updateMetadata", params);
179179
},
180180

181-
getStudyState: function(studyId) {
181+
fetchStudyState: function(studyId) {
182182
osparc.data.Resources.fetch("studies", "state", {
183183
url: {
184184
"studyId": studyId

0 commit comments

Comments
 (0)