mirror of
https://github.com/wekan/wekan.git
synced 2025-04-19 11:44:42 -04:00
Move every Triggers.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory server/)
This commit is contained in:
parent
d6142e4b75
commit
ebb356cf2d
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ RulesHelper = {
|
|||
}
|
||||
const matchingFields = TriggersDef[activityType].matchingFields;
|
||||
const matchingMap = this.buildMatchingFieldsMap(activity, matchingFields);
|
||||
const matchingTriggers = Triggers.find(matchingMap);
|
||||
const matchingTriggers = ReactiveCache.getTriggers(matchingMap);
|
||||
const matchingRules = [];
|
||||
matchingTriggers.forEach(function(trigger) {
|
||||
const rule = trigger.getRule();
|
||||
|
|
Loading…
Add table
Reference in a new issue