Skip to content

Commit 78aa02f

Browse files
committed
re-enable ConvertToPipelineEnabled
1 parent 69c60ad commit 78aa02f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

services/static-webserver/client/source/class/osparc/navigation/StudyTitleWOptions.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,21 +162,12 @@ qx.Class.define("osparc.navigation.StudyTitleWOptions", {
162162
});
163163

164164
const convertToPipelineButton = this.getChildControl("study-menu-convert-to-pipeline");
165-
const convertToStandaloneButton = this.getChildControl("study-menu-convert-to-standalone");
166165
if (osparc.product.Utils.hasConvertToPipelineEnabled()) {
167166
study.getUi().bind("mode", convertToPipelineButton, "visibility", {
168167
converter: mode => mode === "standalone" ? "visible" : "excluded"
169168
});
170-
171-
const evaluateConvertToStandaloneButton = () => {
172-
// exclude until we have the export to standalone backend functionality
173-
convertToStandaloneButton.exclude();
174-
};
175-
study.getWorkbench().addListener("pipelineChanged", () => evaluateConvertToStandaloneButton());
176-
study.getUi().addListener("changeMode", () => evaluateConvertToStandaloneButton());
177169
} else {
178170
convertToPipelineButton.exclude();
179-
convertToStandaloneButton.exclude();
180171
}
181172

182173
const restoreButton = this.getChildControl("study-menu-restore");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ qx.Class.define("osparc.product.Utils", {
189189
},
190190

191191
hasConvertToPipelineEnabled: function() {
192-
return false;
192+
return osparc.store.StaticInfo.getInstance().isDevFeaturesEnabled();
193193
},
194194

195195
// oSPARC only

0 commit comments

Comments
 (0)