Fixed filter by any label
This commit is contained in:
parent
aaf176f2c1
commit
df7ebcba6e
2 changed files with 3 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue