Skip to content
Snippets Groups Projects
Commit 6889f3b0 authored by Alexandre Kühn's avatar Alexandre Kühn
Browse files

[IMP] mail: guard AttachmentListComponent


Task-2797754

closes odoo/odoo#86708

Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
parent 8a0abbd9
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-name="mail.AttachmentList" owl="1">
<div class="o_AttachmentList d-flex flex-column justify-content-start" t-attf-class="{{ className }}" t-ref="root">
<t t-if="attachmentList">
<t t-if="attachmentList">
<div class="o_AttachmentList d-flex flex-column justify-content-start" t-attf-class="{{ className }}" t-ref="root">
<div class="o_AttachmentList_partialList o_AttachmentList_partialListImages d-flex flex-grow-1 flex-wrap">
<t t-foreach="attachmentList.attachmentImages" t-as="attachmentImage" t-key="attachmentImage.localId">
<AttachmentImage className="'o_AttachmentList_attachment my-1 me-1 mw-100'" localId="attachmentImage.localId"/>
......@@ -14,8 +14,8 @@
<AttachmentCard className="'o_AttachmentList_attachment my-1 me-1 mw-100'" localId="attachmentCard.localId"/>
</t>
</div>
</t>
</div>
</div>
</t>
</t>
</templates>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment