Move every ChecklistItems.findOne(idOrFirstObjectSelector, options) to the ReactiveCache

This commit is contained in:
Martin Filser 2023-02-04 17:15:05 +01:00
parent 5552c17eba
commit 8a98f03f1a

View file

@ -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,
});