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

This commit is contained in:
Martin Filser 2023-02-25 20:10:31 +01:00
parent fef6433b75
commit 25989b9736
6 changed files with 11 additions and 11 deletions

View file

@ -55,7 +55,7 @@ class ExporterCardPDF {
},
},
);
result.comments = CardComments.find(byBoard, noBoardId).fetch();
result.comments = ReactiveCache.getCardComments(byBoard, noBoardId);
result.activities = ReactiveCache.getActivities(byBoard, noBoardId);
result.rules = ReactiveCache.getRules(byBoard, noBoardId);
result.checklists = [];

View file

@ -57,7 +57,7 @@ class ExporterExcel {
},
},
);
result.comments = CardComments.find(byBoard, noBoardId).fetch();
result.comments = ReactiveCache.getCardComments(byBoard, noBoardId);
result.activities = ReactiveCache.getActivities(byBoard, noBoardId);
result.rules = ReactiveCache.getRules(byBoard, noBoardId);
result.checklists = [];