Skip to content

Commit 5d5e50a

Browse files
committed
replaceIconWithThumbnail
1 parent 932b64f commit 5d5e50a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ qx.Class.define("osparc.dashboard.SearchBarFilter", {
274274
});
275275

276276
// hypertools filter
277-
const hypertoolTypeButton = new qx.ui.menu.Button("Hypertools", osparc.data.model.StudyUI.HYPERTOOL_ICON(iconSize));
277+
const hypertoolTypeButton = new qx.ui.menu.Button("Hypertools", null);
278+
osparc.utils.Utils.replaceIconWithThumbnail(hypertoolTypeButton, osparc.data.model.StudyUI.HYPERTOOL_ICON(iconSize), iconSize);
278279
serviceTypeMenu.add(hypertoolTypeButton);
279280
hypertoolTypeButton.addListener("execute", () => this.__addChip("app-type", "hypertool", "Hypertools"), this);
280281
},

0 commit comments

Comments
 (0)