mirror of
https://github.com/wekan/wekan.git
synced 2026-02-27 02:14:06 +01:00
Implement board archive and restoration
This commit is contained in:
parent
9faaf07e02
commit
48ac8b026f
32 changed files with 138 additions and 42 deletions
|
|
@ -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 || [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue