A few bug fixes
This commit is contained in:
parent
4b28fd896a
commit
2aa2aca9f2
6 changed files with 76 additions and 27 deletions
|
@ -2803,11 +2803,7 @@ export class ConversationModel extends window.Backbone.Model<
|
|||
return Promise.all(
|
||||
attachments
|
||||
.filter(
|
||||
attachment =>
|
||||
attachment &&
|
||||
attachment.contentType &&
|
||||
!attachment.pending &&
|
||||
!attachment.error
|
||||
attachment => attachment && !attachment.pending && !attachment.error
|
||||
)
|
||||
.slice(0, 1)
|
||||
.map(async attachment => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue