mirror of
https://github.com/wekan/wekan.git
synced 2025-12-28 05:08:48 +01:00
- Fix lint errors and warnings.
Thanks to xet7 !
This commit is contained in:
parent
5d0b23ee3f
commit
58855ada97
3 changed files with 9 additions and 9 deletions
|
|
@ -3,7 +3,7 @@ RulesHelper = {
|
|||
const matchingRules = this.findMatchingRules(activity);
|
||||
for(let i = 0; i< matchingRules.length; i++){
|
||||
const action = matchingRules[i].getAction();
|
||||
if(action != undefined){
|
||||
if(action !== undefined){
|
||||
this.performAction(activity, action);
|
||||
}
|
||||
}
|
||||
|
|
@ -21,7 +21,7 @@ RulesHelper = {
|
|||
const rule = trigger.getRule();
|
||||
// Check that for some unknown reason there are some leftover triggers
|
||||
// not connected to any rules
|
||||
if(rule != undefined){
|
||||
if(rule !== undefined){
|
||||
matchingRules.push(trigger.getRule());
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue