Commit 71605f31 authored by Phil Hughes's avatar Phil Hughes

Fixed blank state being added incorrectly

parent a09b850a
......@@ -39,9 +39,9 @@
},
shouldAddBlankState: function () {
// Decide whether to add the blank state
return !!_.find(this.state.lists, function (list) {
return list.type === 'backlog' || list.type === 'done';
});
return !(!!_.find(this.state.lists, function (list) {
return list.type !== 'backlog' && list.type !== 'done';
}));
},
addBlankState: function () {
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