[FIX] mail: properly re-render attachment list
The attachment list was not displaying extra attachments that were received from the bus if the list had at least one attachment. Part-of: odoo/odoo#128290
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
</div>
|
||||
<AttachmentList
|
||||
t-if="message.attachments.length > 0"
|
||||
attachments="message.attachments"
|
||||
attachments="message.attachments.map((a) => a)"
|
||||
unlinkAttachment.bind="onClickAttachmentUnlink"
|
||||
imagesHeight="300"/>
|
||||
<LinkPreviewList t-if="message.linkPreviews.length > 0 and store.hasLinkPreviewFeature and !message.linkPreviewSquash" linkPreviews="message.linkPreviews" deletable="deletable"/>
|
||||
|
||||
Reference in New Issue
Block a user