Skip to content

Commit fa4325b

Browse files
committed
minor
1 parent d1280ff commit fa4325b

File tree

1 file changed

+10
-8
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+10
-8
lines changed

services/static-webserver/client/source/class/osparc/dashboard/Dashboard.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,16 @@ qx.Class.define("osparc.dashboard.Dashboard", {
123123
icon: "@FontAwesome5Solid/copy/"+tabIconSize,
124124
buildLayout: this.__createTemplateBrowser
125125
});
126-
tabs.push({
127-
id: "hypertoolsTab",
128-
buttonId: "hypertoolsTabBtn",
129-
label: this.tr("HYPERTOOLS"),
130-
icon: "@FontAwesome5Solid/copy/"+tabIconSize,
131-
// initVisibility: "excluded",
132-
buildLayout: this.__createHypertoolsBrowser
133-
});
126+
if (osparc.product.Utils.isS4LProduct() && osparc.store.StaticInfo.getInstance().isDevFeaturesEnabled()) {
127+
tabs.push({
128+
id: "hypertoolsTab",
129+
buttonId: "hypertoolsTabBtn",
130+
label: this.tr("HYPERTOOLS"),
131+
icon: "@FontAwesome5Solid/copy/"+tabIconSize,
132+
// initVisibility: "excluded",
133+
buildLayout: this.__createHypertoolsBrowser
134+
});
135+
}
134136
}
135137
if (permissions.canDo("dashboard.services.read")) {
136138
tabs.push({

0 commit comments

Comments
 (0)