mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 14:08:31 -04:00
fix: always restore archived cards if wip limit is soft
This commit is contained in:
parent
fdd1aad80d
commit
c17f26f6ba
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ Cards.helpers({
|
|||
|
||||
canBeRestored() {
|
||||
const list = Lists.findOne({_id: this.listId});
|
||||
if(list.getWipLimit() && list.getWipLimit('enabled') && list.getWipLimit('value') === list.cards().count()){
|
||||
if(!list.getWipLimit('soft') && list.getWipLimit('enabled') && list.getWipLimit('value') === list.cards().count()){
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue