mirror of
https://github.com/wekan/wekan.git
synced 2025-12-30 22:28:49 +01:00
Move every Rules.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
This commit is contained in:
parent
41685536d7
commit
c262620993
3 changed files with 55 additions and 9 deletions
|
|
@ -41,9 +41,7 @@ Triggers.helpers({
|
|||
},
|
||||
|
||||
getRule() {
|
||||
return Rules.findOne({
|
||||
triggerId: this._id,
|
||||
});
|
||||
return ReactiveCache.getRule({ triggerId: this._id });
|
||||
},
|
||||
|
||||
fromList() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue