mirror of
https://github.com/wekan/wekan.git
synced 2025-12-20 17:30:13 +01:00
Progress on triggers UI
This commit is contained in:
parent
fda4e954eb
commit
2f24dcfc7d
6 changed files with 100 additions and 87 deletions
|
|
@ -1,6 +1,4 @@
|
|||
RulesHelper = {
|
||||
|
||||
|
||||
executeRules(activity){
|
||||
const matchingRules = this.findMatchingRules(activity);
|
||||
console.log(matchingRules);
|
||||
|
|
@ -33,7 +31,7 @@ RulesHelper = {
|
|||
return matchingRules;
|
||||
},
|
||||
buildMatchingFieldsMap(activity, matchingFields){
|
||||
let matchingMap = {};
|
||||
let matchingMap = {"activityType":activity.activityType};
|
||||
for(let i = 0;i< matchingFields.length;i++){
|
||||
// Creating a matching map with the actual field of the activity
|
||||
// and with the wildcard (for example: trigger when a card is added
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue