From 6694088ac7fd8884557f9765a15f42a192fe4b82 Mon Sep 17 00:00:00 2001 From: helioguardabaxo Date: Fri, 24 Jun 2022 16:40:03 -0300 Subject: [PATCH] Do not show archived lists on All Boards --- client/components/boards/boardsList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index b1dcc2d79..048420fa7 100644 --- a/client/components/boards/boardsList.js +++ b/client/components/boards/boardsList.js @@ -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}`);