fix comments on cardType-linkedBoard

This commit is contained in:
Ben0it-T 2022-01-23 10:21:29 +01:00
parent 8b2c9cc74f
commit 3e364c4f35

View file

@ -26,6 +26,8 @@ BlazeComponent.extendComponent({
if (card.isLinkedCard()) {
boardId = Cards.findOne(card.linkedId).boardId;
cardId = card.linkedId;
} else if (card.isLinkedBoard()) {
boardId = card.linkedId;
}
if (text) {
CardComments.insert({