[IMP] mail: guard ChannelInvitationFormComponent

Task-2797754

closes odoo/odoo#86777

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-22 22:11:48 +01:00
parent d2f8eb2b6b
commit 493d4a28a3
@@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-name="mail.ChannelInvitationForm" owl="1">
<div class="o_ChannelInvitationForm d-flex flex-column" t-attf-class="{{ className }}" t-ref="root">
<t t-if="channelInvitationForm">
<t t-if="channelInvitationForm">
<div class="o_ChannelInvitationForm d-flex flex-column" t-attf-class="{{ className }}" t-ref="root">
<h3 class="mx-3 mt-3 mb-2">Invite people</h3>
<t t-if="!messaging.isCurrentUserGuest">
<div class="mx-3 my-2">
@@ -71,8 +71,8 @@
</div>
</div>
</t>
</t>
</div>
</div>
</t>
</t>
</templates>