mirror of
https://github.com/wekan/wekan.git
synced 2026-02-20 06:58:07 +01:00
feature implemented, known bugs fixed
This commit is contained in:
parent
c865bfe497
commit
214fe6a61f
6 changed files with 71 additions and 45 deletions
|
|
@ -182,7 +182,7 @@ Cards.helpers({
|
|||
|
||||
canBeRestored() {
|
||||
const list = Lists.findOne({_id: this.listId});
|
||||
if(list.wipLimit.enabled && list.wipLimit.value == list.cards().count()){
|
||||
if(list.getWipLimit() && list.getWipLimit('enabled') && list.getWipLimit('value') === list.cards().count()){
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue