@@ -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;
@@ -139,12 +139,12 @@ export class Exporter {
).fetch(),
);
result.actions.push(
- ...Actions.find(
+ ...ReactiveCache.getActions(
{
_id: rule.actionId,
},
noBoardId,
- ).fetch(),
+ ),
});
@@ -90,12 +90,12 @@ class ExporterCardPDF {
@@ -92,12 +92,12 @@ class ExporterExcel {