BigW Consortium Gitlab

Commit 71605f31 by Phil Hughes

Fixed blank state being added incorrectly

parent a09b850a
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
}, },
shouldAddBlankState: function () { shouldAddBlankState: function () {
// Decide whether to add the blank state // Decide whether to add the blank state
return !!_.find(this.state.lists, function (list) { return !(!!_.find(this.state.lists, function (list) {
return list.type === 'backlog' || list.type === 'done'; return list.type !== 'backlog' && list.type !== 'done';
}); }));
}, },
addBlankState: function () { addBlankState: function () {
if (this.welcomeIsHidden() || this.disabled) return; if (this.welcomeIsHidden() || this.disabled) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment