Skip to content

Commit fb7a78d

Browse files
authored
🐛 [Frontend] Fix: init ui-mode (#7837)
1 parent 88e5a7a commit fb7a78d

File tree

1 file changed

+1
-2
lines changed
  • services/static-webserver/client/source/class/osparc/study

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ qx.Class.define("osparc.study.Utils", {
6060
"y": 100
6161
}
6262
};
63-
// maybe check it's dynamic
6463
if (!("mode" in minStudyData["ui"])) {
65-
minStudyData["ui"]["mode"] = "standalone";
64+
minStudyData["ui"]["mode"] = metadata["type"] && metadata["type"] === "dynamic" ? "standalone" : "pipeline";
6665
}
6766
const inaccessibleServices = osparc.store.Services.getInaccessibleServices(minStudyData["workbench"])
6867
if (inaccessibleServices.length) {

0 commit comments

Comments
 (0)