summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar/sidebarArchives.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/sidebar/sidebarArchives.js')
-rw-r--r--client/components/sidebar/sidebarArchives.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/client/components/sidebar/sidebarArchives.js b/client/components/sidebar/sidebarArchives.js
index 52d42edb..18970267 100644
--- a/client/components/sidebar/sidebarArchives.js
+++ b/client/components/sidebar/sidebarArchives.js
@@ -11,11 +11,17 @@ BlazeComponent.extendComponent({
},
archivedCards() {
- return Cards.find({ archived: true });
+ return Cards.find({
+ archived: true,
+ boardId: Session.get('currentBoard'),
+ });
},
archivedLists() {
- return Lists.find({ archived: true });
+ return Lists.find({
+ archived: true,
+ boardId: Session.get('currentBoard'),
+ });
},
cardIsInArchivedList() {