diff --git a/addons/mail/static/src/components/attachment_card/attachment_card.xml b/addons/mail/static/src/components/attachment_card/attachment_card.xml index bd562982b687e1d98c45f905b454e5ecf836f3e0..96b0b3a02f206f519fdd9c613b2c3aa746a5f086 100644 --- a/addons/mail/static/src/components/attachment_card/attachment_card.xml +++ b/addons/mail/static/src/components/attachment_card/attachment_card.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <templates xml:space="preserve"> <t t-name="mail.AttachmentCard" owl="1"> - <div t-attf-class="{{ className }}" t-ref="root"> - <t t-if="attachmentCard"> + <t t-if="attachmentCard"> + <div t-attf-class="{{ className }}" t-ref="root"> <div class="o_AttachmentCard o-has-card-details d-flex rounded bg-300" t-att-class="{ 'o-downloadable': !attachmentCard.attachmentList.composerViewOwner, @@ -57,7 +57,7 @@ </div> </t> </div> - </t> - </div> + </div> + </t> </t> </templates>