Skip to content

Commit 1adad29

Browse files
committed
showPresentTags
1 parent 542073c commit 1adad29

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,11 @@ qx.Class.define("osparc.dashboard.TutorialBrowser", {
126126
this._resourceFilter.getChildControl("tags-layout").setVisibility(groupBy === "tags" ? "visible" : "excluded");
127127

128128
if (groupBy === "tags") {
129-
const existingTags = new Set();
129+
const presentTags = new Set();
130130
this._resourcesList.forEach(template => {
131-
(template["tags"] || []).forEach(tagId => existingTags.add(tagId));
131+
(template["tags"] || []).forEach(tagId => presentTags.add(tagId));
132132
});
133-
console.log("Existing tags", existingTags);
134-
// this._resourceFilter.setSelectedTagIds(Array.from(existingTags));
133+
this._resourceFilter.showPresentTags(Array.from(presentTags));
135134
}
136135
}
137136
},

0 commit comments

Comments
 (0)