mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fixed remove
This commit is contained in:
parent
6828ccd7f1
commit
99e7c65907
2 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,10 @@ Triggers.allow({
|
|||
insert: function () {
|
||||
// add custom authentication code here
|
||||
return true;
|
||||
},
|
||||
remove: function () {
|
||||
// add custom authentication code here
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -3,7 +3,9 @@ RulesHelper = {
|
|||
|
||||
executeRules(activity){
|
||||
const matchingRules = this.findMatchingRules(activity);
|
||||
console.log(matchingRules);
|
||||
for(let i = 0;i< matchingRules.length;i++){
|
||||
console.log(matchingRules[i]);
|
||||
const actionType = matchingRules[i].getAction().actionType;
|
||||
this.performAction(activity,actionType);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue