浏览代码

fix comments on cardType-linkedBoard

Ben0it-T 3 年之前
父节点
当前提交
3e364c4f35
共有 1 个文件被更改,包括 2 次插入0 次删除
  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({