mirror of
https://github.com/wekan/wekan.git
synced 2026-02-12 03:04:22 +01:00
Move every Rules.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory client/)
This commit is contained in:
parent
f3d58339ae
commit
0c58bcf99c
4 changed files with 13 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue