Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Nov 14, 2024
1 parent 1c0ec1c commit 7a3f8a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ qx.Class.define("osparc.filter.UserTagsFilter", {
__buildMenu: function() {
osparc.store.Tags.getInstance().getTags()
.forEach(tag => {
const menuButton = this._addOption(tag.name);
const menuButton = this._addOption(tag.getName());
menuButton.setIcon("@FontAwesome5Solid/square/12");
menuButton.getChildControl("icon").setTextColor(tag.color);
menuButton.getChildControl("icon").setTextColor(tag.getColor());
});
},
__attachEventListeners: function(filterId, filterGroupId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ qx.Class.define("osparc.info.StudyUtils", {
tagsContainer.removeAll();
const noTagsLabel = new qx.ui.basic.Label(qx.locale.Manager.tr("Add tags"));
tagsContainer.add(noTagsLabel);
osparc.store.Tags.getInstance().getTags().filter(tag => model.getTags().includes(tag.id))
osparc.store.Tags.getInstance().getTags().filter(tag => model.getTags().includes(tag.getTagId()))
.forEach(selectedTag => {
if (tagsContainer.indexOf(noTagsLabel) > -1) {
tagsContainer.remove(noTagsLabel);
Expand Down

0 comments on commit 7a3f8a8

Please sign in to comment.