Skip to content

Commit 7b206d1

Browse files
committed
fixes
1 parent 7b555a8 commit 7b206d1

File tree

2 files changed

+5
-3
lines changed
  • services/static-webserver/client/source/class/osparc

2 files changed

+5
-3
lines changed

services/static-webserver/client/source/class/osparc/store/Tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ qx.Class.define("osparc.store.Tags", {
103103
},
104104

105105
__addToCache: function(tagData) {
106-
let tag = this.tagsCached.find(f => f.getTagId() === tagData["tagId"]);
106+
let tag = this.tagsCached.find(f => f.getTagId() === tagData["id"]);
107107
if (tag) {
108108
const props = Object.keys(qx.util.PropertyUtil.getProperties(osparc.data.model.Tag));
109109
// put

services/static-webserver/client/source/class/osparc/ui/basic/Tag.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ qx.Class.define("osparc.ui.basic.Tag", {
2020
construct: function(tag, filterGroupId) {
2121
this.base(arguments);
2222

23-
tag.bind("name", this, "value");
24-
tag.bind("color", this, "color");
23+
if (tag) {
24+
tag.bind("name", this, "value");
25+
tag.bind("color", this, "color");
26+
}
2527
this.setFont("text-11");
2628

2729
if (filterGroupId) {

0 commit comments

Comments
 (0)