Refactor imported -> linked in components

This commit is contained in:
Andrés Manelli 2018-05-02 15:03:22 -03:00
parent 6adfcb3513
commit f76d8e47a8
11 changed files with 52 additions and 53 deletions

View file

@ -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);
},
}];
},