Explorar el Código

fix comments on cardType-linkedBoard

Ben0it-T hace 3 años
padre
commit
3e364c4f35
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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({