Add checklist items to activity log

This commit is contained in:
Ghassen Rjab 2017-07-26 22:51:15 +01:00
parent 01928bfe5a
commit 2b9bc5d046
4 changed files with 28 additions and 10 deletions

View file

@ -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) => {