mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Move every Actions.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory server/)
This commit is contained in:
parent
0e0ac36788
commit
6d949ccdb4
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ Meteor.publish('allTriggers', () => {
|
|||
});
|
||||
|
||||
Meteor.publish('allActions', () => {
|
||||
const ret = Actions.find({});
|
||||
const ret = ReactiveCache.getActions({}, {}, true);
|
||||
return ret;
|
||||
});
|
||||
|
||||
|
@ -44,7 +44,7 @@ Meteor.publish('rulesReport', () => {
|
|||
|
||||
const ret = [
|
||||
rules,
|
||||
Actions.find({ _id: { $in: actionIds } }),
|
||||
ReactiveCache.getActions({ _id: { $in: actionIds } }, {}, true),
|
||||
Triggers.find({ _id: { $in: triggerIds } }),
|
||||
ReactiveCache.getBoards({ _id: { $in: boardIds } }, { fields: { title: 1 } }, true),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue