Skip to content

Commit 7aca0c0

Browse files
committed
enable parameter from menu
1 parent f2175d1 commit 7aca0c0

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

services/static-webserver/client/source/class/osparc/form/renderer/PropForm.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,13 +323,12 @@ qx.Class.define("osparc.form.renderer.PropForm", {
323323
const paramsMenuBtn = this.__getParamsMenuButton(field.key);
324324
paramsMenuBtn.exclude();
325325
optionsMenu.add(paramsMenuBtn);
326-
const areParamsEnabled = osparc.utils.Utils.isDevelopmentPlatform();
327326
[
328327
newParamBtn,
329328
paramsMenuBtn
330329
].forEach(btn => {
331330
studyUI.bind("mode", btn, "visibility", {
332-
converter: mode => mode === "workbench" && areParamsEnabled ? "visible" : "excluded"
331+
converter: mode => mode === "workbench" ? "visible" : "excluded"
333332
});
334333
});
335334
}

0 commit comments

Comments
 (0)