Move every CardComments.findOne() to the ReactiveCache

This commit is contained in:
Martin Filser 2023-02-03 23:39:52 +01:00
parent 0e714a90e0
commit 0a7ffe4cb0
4 changed files with 27 additions and 4 deletions

View file

@ -41,7 +41,7 @@ Activities.helpers({
return ReactiveCache.getCard(this.cardId);
},
comment() {
return CardComments.findOne(this.commentId);
return ReactiveCache.getCardComment(this.commentId);
},
attachment() {
return Attachments.findOne(this.attachmentId);