lint
This commit is contained in:
parent
bc97016ea3
commit
18a3bbbd49
15 changed files with 43 additions and 36 deletions
|
|
@ -25,9 +25,7 @@ const ChatListItem = {
|
|||
return
|
||||
}
|
||||
|
||||
const types = this.chat.lastMessage.attachments.map((file) =>
|
||||
file.type,
|
||||
)
|
||||
const types = this.chat.lastMessage.attachments.map((file) => file.type)
|
||||
if (types.includes('video')) {
|
||||
return this.$t('file_type.video')
|
||||
} else if (types.includes('audio')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue