Make linter happy.

This commit is contained in:
Roger Braun 2017-03-15 17:14:51 +01:00
parent 5249b1d23a
commit 44923afbee

View file

@ -51,6 +51,7 @@ const PostStatusForm = {
candidates () {
if (this.textAtCaret.charAt(0) === '@') {
const matchedUsers = filter(this.users, (user) => (user.name + user.screen_name).match(this.textAtCaret.slice(1)))
// eslint-disable-next-line camelcase
return map(take(matchedUsers, 5), ({screen_name, name}) => screen_name)
} else {
return ['nothing']