mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Move every ChecklistItems.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
This commit is contained in:
parent
5552c17eba
commit
8a98f03f1a
1 changed files with 2 additions and 2 deletions
|
@ -293,7 +293,7 @@ RulesHelper = {
|
|||
title: action.checklistName,
|
||||
cardId: card._id,
|
||||
});
|
||||
const checkItem = ChecklistItems.findOne({
|
||||
const checkItem = ReactiveCache.getChecklistItem({
|
||||
title: action.checkItemName,
|
||||
checkListId: checkList._id,
|
||||
});
|
||||
|
@ -304,7 +304,7 @@ RulesHelper = {
|
|||
title: action.checklistName,
|
||||
cardId: card._id,
|
||||
});
|
||||
const checkItem = ChecklistItems.findOne({
|
||||
const checkItem = ReactiveCache.getChecklistItem({
|
||||
title: action.checkItemName,
|
||||
checkListId: checkList._id,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue