mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
New option to set up minimum limit to show cards count for each list in board
This commit is contained in:
parent
1ad4107201
commit
606dbbbbf2
7 changed files with 53 additions and 0 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue