Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Nov 14, 2024
1 parent 7b555a8 commit 7b206d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ qx.Class.define("osparc.store.Tags", {
},

__addToCache: function(tagData) {
let tag = this.tagsCached.find(f => f.getTagId() === tagData["tagId"]);
let tag = this.tagsCached.find(f => f.getTagId() === tagData["id"]);
if (tag) {
const props = Object.keys(qx.util.PropertyUtil.getProperties(osparc.data.model.Tag));
// put
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ qx.Class.define("osparc.ui.basic.Tag", {
construct: function(tag, filterGroupId) {
this.base(arguments);

tag.bind("name", this, "value");
tag.bind("color", this, "color");
if (tag) {
tag.bind("name", this, "value");
tag.bind("color", this, "color");
}
this.setFont("text-11");

if (filterGroupId) {
Expand Down

0 comments on commit 7b206d1

Please sign in to comment.