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

This commit is contained in:
Martin Filser 2023-02-22 23:02:31 +01:00
parent 47c70f03a2
commit 981a641bce
6 changed files with 11 additions and 10 deletions

View file

@ -45,7 +45,7 @@ class ExporterExcel {
result.lists = ReactiveCache.getLists(byBoard, noBoardId);
result.cards = ReactiveCache.getCards(byBoardNoLinked, noBoardId);
result.swimlanes = ReactiveCache.getSwimlanes(byBoard, noBoardId);
result.customFields = CustomFields.find(
result.customFields = ReactiveCache.getCustomFields(
{
boardIds: {
$in: [this.boardId],
@ -56,7 +56,7 @@ class ExporterExcel {
boardId: 0,
},
},
).fetch();
);
result.comments = CardComments.find(byBoard, noBoardId).fetch();
result.activities = Activities.find(byBoard, noBoardId).fetch();
result.rules = Rules.find(byBoard, noBoardId).fetch();