Browse Source

fix comments on cardType-linkedBoard

Ben0it-T 3 năm trước cách đây
mục cha
commit
3e364c4f35
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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({