[IMP] mail: guard ThreadTextualTypingStatusComponent

Task-2797754

closes odoo/odoo#86950

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-23 16:17:06 +01:00
parent 90b3ea7cfe
commit 146e11ecc8
@@ -2,13 +2,15 @@
<templates xml:space="preserve">
<t t-name="mail.ThreadTextualTypingStatus" owl="1">
<div class="o_ThreadTextualTypingStatus" t-attf-class="{{ className }}" t-ref="root">
<t t-if="thread and thread.orderedOtherTypingMembers.length > 0">
<ThreadTypingIcon animation="'pulse'" size="'medium'"/>
<span class="o_ThreadTextualTypingStatus_separator"/>
<span class="text-truncate" t-esc="thread.typingStatusText"/>
</t>
</div>
<t t-if="thread">
<div class="o_ThreadTextualTypingStatus" t-attf-class="{{ className }}" t-ref="root">
<t t-if="thread.orderedOtherTypingMembers.length > 0">
<ThreadTypingIcon animation="'pulse'" size="'medium'"/>
<span class="o_ThreadTextualTypingStatus_separator"/>
<span class="text-truncate" t-esc="thread.typingStatusText"/>
</t>
</div>
</t>
</t>
</templates>