mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
18 lines
437 B
JavaScript
18 lines
437 B
JavaScript
// Template.cards.events({
|
|
// 'click .member': Popup.open('cardMember')
|
|
// });
|
|
|
|
BlazeComponent.extendComponent({
|
|
template() {
|
|
return 'minicard';
|
|
},
|
|
importedCard() {
|
|
return this.currentData().type === 'cardType-importedCard';
|
|
},
|
|
importedBoard() {
|
|
return this.currentData().type === 'cardType-importedBoard';
|
|
},
|
|
imported() {
|
|
return this.importedCard() || this.importedBoard();
|
|
},
|
|
}).register('minicard');
|