From 3e364c4f352f94cfd2604331033c00384b37dbe9 Mon Sep 17 00:00:00 2001 From: Ben0it-T Date: Sun, 23 Jan 2022 10:21:29 +0100 Subject: [PATCH] fix comments on cardType-linkedBoard --- client/components/activities/comments.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js index b9165ce95..63738b120 100644 --- a/client/components/activities/comments.js +++ b/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({