[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user