Move every Actions.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)

This commit is contained in:
Martin Filser 2023-02-25 19:45:15 +01:00
parent 30c1b5cca8
commit c7b554afd9
4 changed files with 7 additions and 7 deletions

View file

@ -667,7 +667,7 @@ Boards.helpers({
// copy rules, actions, and triggers
const actionsMap = {};
Actions.find({ boardId: oldId }).forEach(action => {
ReactiveCache.getActions({ boardId: oldId }).forEach(action => {
const id = action._id;
delete action._id;
action.boardId = _id;