mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01: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() {
|
canBeRestored() {
|
||||||
const list = Lists.findOne({_id: this.listId});
|
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 false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue