Move every Checklists.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)

This commit is contained in:
Martin Filser 2023-02-25 18:14:33 +01:00
parent 6fd3c0fa6b
commit e5359dc838
5 changed files with 10 additions and 13 deletions

View file

@ -67,9 +67,9 @@ class ExporterExcel {
result.actions = [];
result.cards.forEach((card) => {
result.checklists.push(
...Checklists.find({
...ReactiveCache.getChecklists({
cardId: card._id,
}).fetch(),
}),
);
result.checklistItems.push(
...ReactiveCache.getChecklistItems({