fix: dont add labels without id
Signed-off-by: grnd-alt <github@belakkaf.net>
This commit is contained in:
committed by
backportbot[bot]
parent
6685341d9c
commit
6993fc906f
@@ -276,6 +276,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSelectLabel(label) {
|
onSelectLabel(label) {
|
||||||
|
if (!label.id) return
|
||||||
this.card.labels.push(label)
|
this.card.labels.push(label)
|
||||||
},
|
},
|
||||||
onRemoveLabel(removedLabel) {
|
onRemoveLabel(removedLabel) {
|
||||||
|
|||||||
Reference in New Issue
Block a user