[IMP] mail: guard ThreadViewTopbarComponent
Task-2797754 closes odoo/odoo#86952 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="mail.ThreadViewTopbar" owl="1">
|
||||
<div class="o_ThreadViewTopbar d-flex flex-shrink-0 w-100 px-3" t-attf-class="{{ className }}" t-ref="root">
|
||||
<t t-if="threadViewTopbar">
|
||||
<t t-if="threadViewTopbar">
|
||||
<div class="o_ThreadViewTopbar d-flex flex-shrink-0 w-100 px-3" t-attf-class="{{ className }}" t-ref="root">
|
||||
<t t-if="threadViewTopbar.thread">
|
||||
<ThreadIcon className="'o_ThreadViewTopbar_threadIcon mr-2 align-self-center'" threadLocalId="threadViewTopbar.thread.localId"/>
|
||||
</t>
|
||||
@@ -91,7 +91,7 @@
|
||||
</t>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user