mirror of
https://github.com/wekan/wekan.git
synced 2025-12-27 12:48:49 +01:00
Labels activities
This commit is contained in:
parent
99e7c65907
commit
9c6d374b95
19 changed files with 480 additions and 60 deletions
|
|
@ -20,6 +20,9 @@ RulesHelper = {
|
|||
},
|
||||
findMatchingRules(activity){
|
||||
const activityType = activity.activityType;
|
||||
if(TriggersDef[activityType] == undefined){
|
||||
return [];
|
||||
}
|
||||
const matchingFields = TriggersDef[activityType].matchingFields;
|
||||
const matchingMap = this.buildMatchingFieldsMap(activity,matchingFields);
|
||||
let matchingTriggers = Triggers.find(matchingMap);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue