Skip to content

Commit a312aa6

Browse files
committed
setIcon on Hypertool
1 parent eb128b1 commit a312aa6

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,15 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
207207
osparc.store.Templates.getHypertools()
208208
.then(hypertools => {
209209
if (hypertools.length) {
210-
const hypertoolsMenuButton = this.self().createMenuButton(osparc.data.model.StudyUI.HYPERTOOL_ICON(16), this.tr("Hypertools"));
210+
const hypertoolsMenuButton = this.self().createMenuButton(null, this.tr("Hypertools"));
211211
this.addAt(hypertoolsMenuButton, this.__itemIdx);
212212
this.__itemIdx++;
213213

214214
const hypertoolsMenu = new qx.ui.menu.Menu().set({
215215
appearance: "menu-wider",
216216
});
217217
hypertoolsMenuButton.setMenu(hypertoolsMenu);
218+
this.self().setIcon(hypertoolsMenuButton, osparc.data.model.StudyUI.HYPERTOOL_ICON(16));
218219

219220
hypertools.forEach(templateData => {
220221
const hypertoolButton = this.self().createMenuButton(templateData["icon"], templateData["name"]);

0 commit comments

Comments
 (0)