Move every Rules.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory client/)

This commit is contained in:
Martin Filser 2023-02-25 19:42:07 +01:00
parent f3d58339ae
commit 0c58bcf99c
4 changed files with 13 additions and 4 deletions

View file

@ -141,7 +141,7 @@ class AdminReport extends BlazeComponent {
results() {
const rules = [];
Rules.find().forEach(rule => {
ReactiveCache.getRules().forEach(rule => {
rules.push({
_id: rule._id,
title: rule.title,