mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
most work concluded, code needs clean up, further testing required
This commit is contained in:
parent
089dbf0cf6
commit
c865bfe497
9 changed files with 72 additions and 88 deletions
|
|
@ -179,6 +179,14 @@ Cards.helpers({
|
|||
cardId: this._id,
|
||||
});
|
||||
},
|
||||
|
||||
canBeRestored() {
|
||||
const list = Lists.findOne({_id: this.listId});
|
||||
if(list.wipLimit.enabled && list.wipLimit.value == list.cards().count()){
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
});
|
||||
|
||||
Cards.mutations({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue