Fix migration. Replace old checklist-item sort algorithm.

This commit is contained in:
Andrés Manelli 2018-03-19 15:03:44 -03:00
parent bf7de463f1
commit 153960742c
7 changed files with 114 additions and 64 deletions

View file

@ -42,7 +42,7 @@ Activities.helpers({
return Checklists.findOne(this.checklistId);
},
checklistItem() {
return Checklists.findOne(this.checklistId).getItem(this.checklistItemId);
return ChecklistItems.findOne(this.checklistItemId);
},
});