diff options
Diffstat (limited to 'models/activities.js')
-rw-r--r-- | models/activities.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/models/activities.js b/models/activities.js index f1e52493..b7fbc61b 100644 --- a/models/activities.js +++ b/models/activities.js @@ -38,6 +38,9 @@ Activities.helpers({ checklist() { return Checklists.findOne(this.checklistId); }, + checklistItem() { + return Checklists.findOne(this.checklistId).getItem(this.checklistItemId); + }, }); Activities.before.insert((userId, doc) => { |