Commit df7ebcba authored by Phil Hughes's avatar Phil Hughes

Fixed filter by any label

parent aaf176f2
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
if (persist) { if (persist) {
list.save(); list.save();
this.removeBlankState(); this.removeBlankState();
this.updateNewListDropdown();
} }
return list; return list;
......
...@@ -304,7 +304,9 @@ ...@@ -304,7 +304,9 @@
isIssueIndex = page === 'projects:issues:index'; isIssueIndex = page === 'projects:issues:index';
isMRIndex = page === 'projects:merge_requests:index'; isMRIndex = page === 'projects:merge_requests:index';
if (page === 'projects:boards:show') { if (page === 'projects:boards:show') {
if (label.title) { if (label.isAny) {
BoardsStore.state.filters['label_name'] = [];
} else if (label.title) {
BoardsStore.state.filters['label_name'].push(label.title); BoardsStore.state.filters['label_name'].push(label.title);
} else { } else {
var labelIndex = BoardsStore.state.filters['label_name'].indexOf(label.text()); var labelIndex = BoardsStore.state.filters['label_name'].indexOf(label.text());
......
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