[IMP] mail: guard ComposerSuggestedRecipientListComponent
Task-2797754 closes odoo/odoo#86794 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
+4
-4
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="mail.ComposerSuggestedRecipientList" owl="1">
|
||||
<div class="o_ComposerSuggestedRecipientList" t-attf-class="{{ className }}" t-ref="root">
|
||||
<t t-if="thread">
|
||||
<t t-if="thread">
|
||||
<div class="o_ComposerSuggestedRecipientList" t-attf-class="{{ className }}" t-ref="root">
|
||||
<t t-foreach="state.hasShowMoreButton ? thread.suggestedRecipientInfoList : thread.suggestedRecipientInfoList.slice(0,3)" t-as="recipientInfo" t-key="recipientInfo.localId">
|
||||
<ComposerSuggestedRecipient
|
||||
suggestedRecipientInfoLocalId="recipientInfo.localId"
|
||||
@@ -20,7 +20,7 @@
|
||||
</button>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user