summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/cards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/cards.js b/models/cards.js
index 5b752ec3..5de17c6f 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -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;