mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Move every Attachments.findOne() to the ReactiveCache
This commit is contained in:
parent
fe2015735a
commit
3fc9c6efe7
5 changed files with 30 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue