Indicate board or card through icons. Indicate if archived

This commit is contained in:
Andrés Manelli 2018-04-20 23:52:13 -03:00
parent 10aab8a733
commit f0597ef0c4
6 changed files with 40 additions and 4 deletions

View file

@ -6,4 +6,15 @@ BlazeComponent.extendComponent({
template() {
return 'minicard';
},
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);
},
}];
},
}).register('minicard');