提交 df7ebcba 编写于 作者: P Phil Hughes

Fixed filter by any label

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册