[IMP] mail: guard FollowerComponent

Task-2797754

closes odoo/odoo#86820

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-23 13:40:38 +01:00
parent 08562f9e7f
commit ca604a31b2
@@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-name="mail.Follower" owl="1">
<div class="o_Follower" t-attf-class="{{ className }}" t-on-click="props.onClick" t-ref="root">
<t t-if="follower">
<t t-if="follower">
<div class="o_Follower" t-attf-class="{{ className }}" t-on-click="props.onClick" t-ref="root">
<a class="o_Follower_details d-flex" t-att-class="{ 'o-inactive': !follower.isActive }" href="#" t-on-click="_onClickDetails">
<img class="o_Follower_avatar" t-att-src="follower.partner.avatarUrl" alt="Avatar"/>
<span class="o_Follower_name flex-shrink text-truncate" t-esc="follower.partner.nameOrDisplayName"/>
@@ -16,8 +16,8 @@
<i class="fa fa-remove"/>
</button>
</t>
</t>
</div>
</div>
</t>
</t>
</templates>