Move every Attachments.findOne() to the ReactiveCache

This commit is contained in:
Martin Filser 2023-02-04 00:30:55 +01:00
parent fe2015735a
commit 3fc9c6efe7
5 changed files with 30 additions and 7 deletions

View file

@ -44,7 +44,7 @@ Activities.helpers({
return ReactiveCache.getCardComment(this.commentId);
},
attachment() {
return Attachments.findOne(this.attachmentId);
return ReactiveCache.getAttachment(this.attachmentId);
},
checklist() {
return Checklists.findOne(this.checklistId);