Commit df7ebcba authored by Phil Hughes's avatar Phil Hughes

Fixed filter by any label

parent aaf176f2
......@@ -18,7 +18,6 @@
if (persist) {
list.save();
this.removeBlankState();
this.updateNewListDropdown();
}
return list;
......
......@@ -304,7 +304,9 @@
isIssueIndex = page === 'projects:issues:index';
isMRIndex = page === 'projects:merge_requests:index';
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);
} else {
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