forked from AkkomaGang/akkoma-fe
Make linter happy.
This commit is contained in:
parent
5249b1d23a
commit
44923afbee
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ const PostStatusForm = {
|
||||||
candidates () {
|
candidates () {
|
||||||
if (this.textAtCaret.charAt(0) === '@') {
|
if (this.textAtCaret.charAt(0) === '@') {
|
||||||
const matchedUsers = filter(this.users, (user) => (user.name + user.screen_name).match(this.textAtCaret.slice(1)))
|
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)
|
return map(take(matchedUsers, 5), ({screen_name, name}) => screen_name)
|
||||||
} else {
|
} else {
|
||||||
return ['nothing']
|
return ['nothing']
|
||||||
|
|
Loading…
Reference in a new issue