Skip to content

Commit 6349a31

Browse files
committed
minor
1 parent 23da092 commit 6349a31

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,9 @@ qx.Class.define("osparc.dashboard.ResourceBrowserFilter", {
385385
tagsLayout.removeAll();
386386
const maxTags = 10;
387387
this.__tagButtons = [];
388-
osparc.store.Tags.getInstance().getTags().forEach(tag => {
389-
if (!presentTagIds.includes(tag.getTagId())) {
388+
presentTagIds.forEach(tagId => {
389+
const tag = osparc.store.Tags.getInstance().getTag(tagId);
390+
if (!tag) {
390391
return;
391392
}
392393
const button = new qx.ui.form.ToggleButton(null, "@FontAwesome5Solid/tag/16");

0 commit comments

Comments
 (0)