summaryrefslogtreecommitdiffstats
path: root/client/components/activities
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-05-02 15:03:22 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-08-11 00:17:42 +0200
commitf76d8e47a859c64a99cfd460e3fd496965bf021a (patch)
tree2adc26b9ba11e906e8bffb8b097be005977b1ae3 /client/components/activities
parent6adfcb35138259c5969e63d20a68cd6f9e8c393c (diff)
downloadwekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.tar.gz
wekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.tar.bz2
wekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.zip
Refactor imported -> linked in components
Diffstat (limited to 'client/components/activities')
-rw-r--r--client/components/activities/comments.js6
1 files changed, 3 insertions, 3 deletions
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({