From f76d8e47a859c64a99cfd460e3fd496965bf021a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Manelli?= Date: Wed, 2 May 2018 15:03:22 -0300 Subject: Refactor imported -> linked in components --- client/components/activities/comments.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/components/activities/comments.js') diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js index 137b6872..34b6402c 100644 --- a/client/components/activities/comments.js +++ b/client/components/activities/comments.js @@ -24,9 +24,9 @@ BlazeComponent.extendComponent({ const card = this.currentData(); let boardId = card.boardId; let cardId = card._id; - if (card.isImportedCard()) { - boardId = Cards.findOne(card.importedId).boardId; - cardId = card.importedId; + if (card.isLinkedCard()) { + boardId = Cards.findOne(card.linkedId).boardId; + cardId = card.linkedId; } if (text) { CardComments.insert({ -- cgit v1.2.3-1-g7c22