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

[IMP] mail: guard ChatWindowHeaderComponent


Task-2797754

closes odoo/odoo#86782

Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
parent 5cc02166
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.ChatWindowHeader" owl="1">
<div class="o_ChatWindowHeader" t-att-class="{ 'o-mobile': messaging and messaging.device.isMobile }" t-attf-class="{{ className }}" t-on-click="_onClick" t-ref="root">
<t t-if="chatWindow">
<t t-if="chatWindow">
<div class="o_ChatWindowHeader" t-att-class="{ 'o-mobile': messaging.device.isMobile }" t-attf-class="{{ className }}" t-on-click="_onClick" t-ref="root">
<t t-if="props.hasCloseAsBackButton">
<div class="o_ChatWindowHeader_command o_ChatWindowHeader_commandBack o_ChatWindowHeader_commandClose" t-att-class="{ 'o-mobile': messaging.device.isMobile }" t-on-click="_onClickClose" title="Close conversation">
<i class="fa fa-arrow-left"/>
......@@ -78,8 +78,8 @@
</div>
</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