diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2018-05-02 15:03:22 -0300 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2018-08-11 00:17:42 +0200 |
commit | f76d8e47a859c64a99cfd460e3fd496965bf021a (patch) | |
tree | 2adc26b9ba11e906e8bffb8b097be005977b1ae3 /client/components/cards/checklists.js | |
parent | 6adfcb35138259c5969e63d20a68cd6f9e8c393c (diff) | |
download | wekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.tar.gz wekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.tar.bz2 wekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.zip |
Refactor imported -> linked in components
Diffstat (limited to 'client/components/cards/checklists.js')
-rw-r--r-- | client/components/cards/checklists.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/checklists.js b/client/components/cards/checklists.js index 5a612a51..5d789351 100644 --- a/client/components/cards/checklists.js +++ b/client/components/cards/checklists.js @@ -76,8 +76,8 @@ BlazeComponent.extendComponent({ const title = textarea.value.trim(); let cardId = this.currentData().cardId; const card = Cards.findOne(cardId); - if (card.isImported()) - cardId = card.importedId; + if (card.isLinked()) + cardId = card.linkedId; if (title) { Checklists.insert({ |