mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
Move every Checklists.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
6fd3c0fa6b
commit
e5359dc838
5 changed files with 10 additions and 13 deletions
|
|
@ -65,9 +65,9 @@ class ExporterCardPDF {
|
|||
result.actions = [];
|
||||
result.cards.forEach((card) => {
|
||||
result.checklists.push(
|
||||
...Checklists.find({
|
||||
...ReactiveCache.getChecklists({
|
||||
cardId: card._id,
|
||||
}).fetch(),
|
||||
}),
|
||||
);
|
||||
result.checklistItems.push(
|
||||
...ReactiveCache.getChecklistItems({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue