[IMP] mail: guard ChatterTopbarComponent

Task-2797754

closes odoo/odoo#86784

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-22 22:12:06 +01:00
parent 5678c5f862
commit 6fe7c48e86
@@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-name="mail.ChatterTopbar" owl="1">
<div class="o_ChatterTopbar" t-attf-class="{{ className }}" t-ref="root">
<t t-if="chatter">
<t t-if="chatter">
<div class="o_ChatterTopbar" t-attf-class="{{ className }}" t-ref="root">
<div class="o_ChatterTopbar_actions" t-att-class="{'o-has-active-button': chatter.composerView }">
<t t-if="chatter.threadView">
<button class="btn btn-link o_ChatterTopbar_button o_ChatterTopbar_buttonSendMessage"
@@ -71,8 +71,8 @@
<i class="fa fa-times"/>
</div>
</t>
</t>
</div>
</div>
</t>
</t>
</templates>