mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02: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,
|
title: action.checklistName,
|
||||||
cardId: card._id,
|
cardId: card._id,
|
||||||
});
|
});
|
||||||
const checkItem = ChecklistItems.findOne({
|
const checkItem = ReactiveCache.getChecklistItem({
|
||||||
title: action.checkItemName,
|
title: action.checkItemName,
|
||||||
checkListId: checkList._id,
|
checkListId: checkList._id,
|
||||||
});
|
});
|
||||||
|
@ -304,7 +304,7 @@ RulesHelper = {
|
||||||
title: action.checklistName,
|
title: action.checklistName,
|
||||||
cardId: card._id,
|
cardId: card._id,
|
||||||
});
|
});
|
||||||
const checkItem = ChecklistItems.findOne({
|
const checkItem = ReactiveCache.getChecklistItem({
|
||||||
title: action.checkItemName,
|
title: action.checkItemName,
|
||||||
checkListId: checkList._id,
|
checkListId: checkList._id,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue