Skip to content

Commit 7a3f8a8

Browse files
committed
minor fixes
1 parent 1c0ec1c commit 7a3f8a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/static-webserver/client/source/class/osparc/filter/UserTagsFilter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ qx.Class.define("osparc.filter.UserTagsFilter", {
2020
__buildMenu: function() {
2121
osparc.store.Tags.getInstance().getTags()
2222
.forEach(tag => {
23-
const menuButton = this._addOption(tag.name);
23+
const menuButton = this._addOption(tag.getName());
2424
menuButton.setIcon("@FontAwesome5Solid/square/12");
25-
menuButton.getChildControl("icon").setTextColor(tag.color);
25+
menuButton.getChildControl("icon").setTextColor(tag.getColor());
2626
});
2727
},
2828
__attachEventListeners: function(filterId, filterGroupId) {

services/static-webserver/client/source/class/osparc/info/StudyUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ qx.Class.define("osparc.info.StudyUtils", {
211211
tagsContainer.removeAll();
212212
const noTagsLabel = new qx.ui.basic.Label(qx.locale.Manager.tr("Add tags"));
213213
tagsContainer.add(noTagsLabel);
214-
osparc.store.Tags.getInstance().getTags().filter(tag => model.getTags().includes(tag.id))
214+
osparc.store.Tags.getInstance().getTags().filter(tag => model.getTags().includes(tag.getTagId()))
215215
.forEach(selectedTag => {
216216
if (tagsContainer.indexOf(noTagsLabel) > -1) {
217217
tagsContainer.remove(noTagsLabel);

0 commit comments

Comments
 (0)