mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Move every Activities.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
ea72ce1fa2
commit
fef6433b75
6 changed files with 10 additions and 10 deletions
|
|
@ -831,8 +831,8 @@ Boards.helpers({
|
|||
).forEach(card => {
|
||||
linkedBoardId.push(card.linkedId);
|
||||
});
|
||||
return Activities.find({ boardId: { $in: linkedBoardId } }, { sort: { createdAt: -1 } });
|
||||
//return Activities.find({ boardId: this._id }, { sort: { createdAt: -1 } });
|
||||
const ret = ReactiveCache.getActivities({ boardId: { $in: linkedBoardId } }, { sort: { createdAt: -1 } });
|
||||
return ret;
|
||||
},
|
||||
|
||||
activeMembers(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue