Skip to content

Commit b68c4f8

Browse files
committed
plus menu: add entry for hypertools if there are any
1 parent 3917210 commit b68c4f8

File tree

1 file changed

+2
-3
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
168168

169169
__addItems: function() {
170170
this.__addUIConfigItems();
171-
if (osparc.product.Utils.isS4LProduct()) {
172-
this.__addHypertools();
173-
}
171+
this.__addHypertools();
174172
this.__addMoreMenu();
175173
this.getChildControl("new-folder");
176174
},
@@ -198,6 +196,7 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
198196
__addHypertools: function() {
199197
osparc.store.Templates.getHypertools()
200198
.then(hypertools => {
199+
// add entry for hypertools if there are any
201200
if (hypertools.length) {
202201
const hypertoolsMenuButton = this.self().createMenuButton(null, this.tr("Hypertools"));
203202
this.addAt(hypertoolsMenuButton, this.__itemIdx);

0 commit comments

Comments
 (0)