mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-11 02:59:13 +00:00
Hotfix for JS error in auto completion in firefox.
This commit is contained in:
parent
937705ccb0
commit
b284689313
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ const PostStatusForm = {
|
|||
computed: {
|
||||
candidates () {
|
||||
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) => (String(user.name + user.screen_name)).match(this.textAtCaret.slice(1)))
|
||||
if (matchedUsers.length <= 0) {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue