summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.js
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/cards/minicard.js
parent6adfcb35138259c5969e63d20a68cd6f9e8c393c (diff)
downloadwekan-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.js10
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);
},
}];
},