[IMP] mail: guard DialogComponent

Task-2797754

closes odoo/odoo#86800

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-23 13:40:07 +01:00
parent bc9599a955
commit 08610e1d87
@@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-name="mail.Dialog" owl="1">
<div class="o_Dialog" t-attf-class="{{ className }}" t-att-style="dialog and dialog.style" t-ref="root">
<t t-if="dialog">
<t t-if="dialog">
<div class="o_Dialog" t-attf-class="{{ className }}" t-att-style="dialog.style" t-ref="root">
<t
t-component="constructor.components[dialog.componentName]"
t-props="{
@@ -11,8 +11,8 @@
localId: dialog.record.localId,
}"
/>
</t>
</div>
</div>
</t>
</t>
</templates>