mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Move every CardComments.findOne() to the ReactiveCache
This commit is contained in:
parent
0e714a90e0
commit
0a7ffe4cb0
4 changed files with 27 additions and 4 deletions
|
@ -213,7 +213,7 @@ if (isSandstorm && Meteor.isServer) {
|
|||
}
|
||||
|
||||
if (doc.activityType === 'addComment') {
|
||||
const comment = CardComments.findOne(doc.commentId);
|
||||
const comment = ReactiveCache.getCardComment(doc.commentId);
|
||||
caption = { defaultText: comment.text };
|
||||
const activeMembers = _.pluck(
|
||||
ReactiveCache.getBoard(sandstormBoard._id).activeMembers(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue