mirror of
https://github.com/wekan/wekan.git
synced 2026-02-06 16:41:48 +01:00
Move every CardComments.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
fef6433b75
commit
25989b9736
6 changed files with 11 additions and 11 deletions
|
|
@ -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 = [];
|
||||
|
|
|
|||
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue