[IMP] mail: guard SnailmailNotificationPopoverComponent

Task-2797754

closes odoo/odoo#86956

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-23 21:10:52 +01:00
parent 07c1c6ee13
commit c1cbffacf4
@@ -2,12 +2,14 @@
<templates xml:space="preserve">
<t t-name="snailmail.SnailmailNotificationPopover" owl="1">
<div class="o_SnailmailNotificationPopover" t-attf-class="{{ className }}" t-ref="root">
<t t-if="message and notification">
<i class="o_SnailmailNotificationPopover_icon" t-att-class="iconClass" role="img"/>
<span t-esc="iconTitle"/>
</t>
</div>
<t t-if="message">
<div class="o_SnailmailNotificationPopover" t-attf-class="{{ className }}" t-ref="root">
<t t-if="notification">
<i class="o_SnailmailNotificationPopover_icon" t-att-class="iconClass" role="img"/>
<span t-esc="iconTitle"/>
</t>
</div>
</t>
</t>
</templates>