@@ -51,8 +51,15 @@
if (this.box.label_id == null)
return 'Unknown'
- var label = this.labels[this.box.label_id]
- return label.name
+ let name = 'Not Found';
+ for (let label of this.labels){
+ if (label.id != this.box.label_id)
+ continue;
+
+ name = label.name;
+ break;
+ }
+ return name
},