summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.js
blob: b339580b54b036b60cc7a481027e178dce1d1f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Template.cards.events({
//   'click .member': Popup.open('cardMember')
// });


BlazeComponent.extendComponent({
  template: function() {
    return 'minicard';
  },

  isSelected: function() {
    return Session.equals('currentCard', this.currentData()._id);
  }
}).register('minicard');