Skip to content

Commit 3ad2eec

Browse files
authored
🐛 [Frontend] Fix: show computational service's settings in App Mode (#7445)
1 parent 1c829d7 commit 3ad2eec

File tree

1 file changed

+11
-1
lines changed
  • services/static-webserver/client/source/class/osparc/node/slideshow

1 file changed

+11
-1
lines changed

services/static-webserver/client/source/class/osparc/node/slideshow/NodeView.js

+11-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ qx.Class.define("osparc.node.slideshow.NodeView", {
3838

3939
statics: {
4040
LOGGER_HEIGHT: 28,
41+
42+
isPropsFormShowable: function(node) {
43+
if (node && ("getPropsForm" in node) && node.getPropsForm()) {
44+
return node.getPropsForm().hasVisibleInputs();
45+
}
46+
return false;
47+
},
4148
},
4249

4350
members: {
@@ -128,7 +135,10 @@ qx.Class.define("osparc.node.slideshow.NodeView", {
128135
},
129136

130137
isSettingsGroupShowable: function() {
131-
// do not show Settings in App Mode
138+
const node = this.getNode();
139+
if (node.isComputational()) {
140+
return this.self().isPropsFormShowable(node);
141+
}
132142
return false;
133143
},
134144

0 commit comments

Comments
 (0)