@@ -27,11 +27,11 @@ export default {
props: ['box', 'position', 'draggable', 'deletable', 'taggable', 'confirmable', 'labels'],
computed: {
labelName: function () {
- if (!this.box || !this.box.label)
+ if (!this.box || !this.box.label_id)
return false;
for (let label of this.labels) {
- if (label.identifier === this.box.label) {
+ if (label.identifier === this.box.label_id) {
return label.name;
}