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

This commit is contained in:
Martin Filser 2023-02-22 23:10:41 +01:00
parent 981a641bce
commit 6fd3c0fa6b
4 changed files with 18 additions and 23 deletions

View file

@ -119,9 +119,9 @@ export class Exporter {
}).fetch(),
);
result.checklistItems.push(
...ChecklistItems.find({
...ReactiveCache.getChecklistItems({
cardId: card._id,
}).fetch(),
}),
);
result.subtaskItems.push(
...ReactiveCache.getCards({