diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-23 11:09:48 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-26 19:59:44 +0200 |
commit | 48ac8b026ffdf8b3823c573e5693dcf1765383e2 (patch) | |
tree | 832576fddbcdef9810b206f1ee86469702497806 /collections | |
parent | 9faaf07e0257f622abcaa365408fa836a1cbdea8 (diff) | |
download | wekan-48ac8b026ffdf8b3823c573e5693dcf1765383e2.tar.gz wekan-48ac8b026ffdf8b3823c573e5693dcf1765383e2.tar.bz2 wekan-48ac8b026ffdf8b3823c573e5693dcf1765383e2.zip |
Implement board archive and restoration
Diffstat (limited to 'collections')
-rw-r--r-- | collections/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collections/users.js b/collections/users.js index 043f93e5..28b63ba7 100644 --- a/collections/users.js +++ b/collections/users.js @@ -14,7 +14,7 @@ Users.helpers({ }, starredBoards: function() { var starredBoardIds = this.profile.starredBoards || []; - return Boards.find({_id: {$in: starredBoardIds}}); + return Boards.find({archived: false, _id: {$in: starredBoardIds}}); }, hasStarred: function(boardId) { var starredBoardIds = this.profile.starredBoards || []; |