Browse Source

fix comments on cardType-linkedBoard

Ben0it-T 3 years ago
parent
commit
3e364c4f35
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/components/activities/comments.js

+ 2 - 0
client/components/activities/comments.js

@@ -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({