mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Do not show archived lists on All Boards
This commit is contained in:
parent
28612612bd
commit
6694088ac7
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
boardLists(boardId) {
|
||||
let boardLists = [];
|
||||
const lists = Lists.find({'boardId' : boardId})
|
||||
const lists = Lists.find({'boardId' : boardId, 'archived': false})
|
||||
lists.forEach(list => {
|
||||
let cardCount = Cards.find({'boardId':boardId, 'listId':list._id}).count()
|
||||
boardLists.push(`${list.title}: ${cardCount}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue