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/minicard.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/minicard.js')
-rw-r--r-- | client/components/cards/minicard.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/components/cards/minicard.js b/client/components/cards/minicard.js index e81705a9..000836f9 100644 --- a/client/components/cards/minicard.js +++ b/client/components/cards/minicard.js @@ -9,11 +9,11 @@ BlazeComponent.extendComponent({ events() { return [{ - 'click .js-imported-link' (evt) { - if (this.data().isImportedCard()) - Utils.goCardId(this.data().importedId); - else if (this.data().isImportedBoard()) - Utils.goBoardId(this.data().importedId); + 'click .js-linked-link' (evt) { + if (this.data().isLinkedCard()) + Utils.goCardId(this.data().linkedId); + else if (this.data().isLinkedBoard()) + Utils.goBoardId(this.data().linkedId); }, }]; }, |