mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Move every Checklists.findOne() to the ReactiveCache
This commit is contained in:
parent
3fc9c6efe7
commit
bf27ffb92e
3 changed files with 5 additions and 5 deletions
|
|
@ -338,7 +338,7 @@ RulesHelper = {
|
|||
sort: 0,
|
||||
});
|
||||
const itemsArray = action.checklistItems.split(',');
|
||||
const checkList = Checklists.findOne({ _id: checkListId });
|
||||
const checkList = ReactiveCache.getChecklist(checkListId);
|
||||
for (let i = 0; i < itemsArray.length; i++) {
|
||||
ChecklistItems.insert({
|
||||
title: itemsArray[i],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue