mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Upgrade ESLint to v2
This commit also tweak the code style following backward-incompatible v2 rules.
This commit is contained in:
parent
b8aefedcc3
commit
90601eacae
14 changed files with 161 additions and 164 deletions
|
|
@ -208,11 +208,12 @@ BlazeComponent.extendComponent({
|
|||
label.color.indexOf(term) > -1) {
|
||||
return label;
|
||||
}
|
||||
return null;
|
||||
}));
|
||||
},
|
||||
template(label) {
|
||||
return Blaze.toHTMLWithData(Template.autocompleteLabelLine, {
|
||||
hasNoName: !Boolean(label.name),
|
||||
hasNoName: !label.name,
|
||||
colorName: label.color,
|
||||
labelName: label.name || label.color,
|
||||
});
|
||||
|
|
@ -233,6 +234,7 @@ BlazeComponent.extendComponent({
|
|||
evt.stopPropagation();
|
||||
return commands.KEY_ENTER;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue