New option to set up minimum limit to show cards count for each list in board

This commit is contained in:
Mario Orlicky 2016-11-25 21:45:11 +01:00
parent 1ad4107201
commit 606dbbbbf2
7 changed files with 53 additions and 0 deletions

View file

@ -13,6 +13,14 @@ BlazeComponent.extendComponent({
return list.findWatcher(Meteor.userId());
},
limitToShowCardsCount() {
return Meteor.user().getLimitToShowCardsCount();
},
showCardsCountForList(count) {
return count > this.limitToShowCardsCount();
},
events() {
return [{
'click .js-open-list-menu': Popup.open('listAction'),