[IMP] mail: guard RtcCallParticipantCardComponent
Task-2797754 closes odoo/odoo#86847 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
+13
-13
@@ -2,17 +2,17 @@
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="mail.RtcCallParticipantCard" owl="1">
|
||||
<div class="o_RtcCallParticipantCard"
|
||||
t-att-class="{
|
||||
'o-isClickable': callParticipantCard.invitedGuest or callParticipantCard.invitedPartner or !callParticipantCard.isMinimized,
|
||||
'o-isTalking': callParticipantCard and !callParticipantCard.isMinimized and callParticipantCard.isTalking,
|
||||
'o-isInvitation': callParticipantCard and callParticipantCard.isInvitation,
|
||||
}"
|
||||
t-attf-class="{{ className }}"
|
||||
t-on-contextmenu="_onContextMenu"
|
||||
t-ref="root"
|
||||
>
|
||||
<t t-if="callParticipantCard">
|
||||
<t t-if="callParticipantCard">
|
||||
<div class="o_RtcCallParticipantCard"
|
||||
t-att-class="{
|
||||
'o-isClickable': callParticipantCard.invitedGuest or callParticipantCard.invitedPartner or !callParticipantCard.isMinimized,
|
||||
'o-isTalking': !callParticipantCard.isMinimized and callParticipantCard.isTalking,
|
||||
'o-isInvitation': callParticipantCard.isInvitation,
|
||||
}"
|
||||
t-attf-class="{{ className }}"
|
||||
t-on-contextmenu="_onContextMenu"
|
||||
t-ref="root"
|
||||
>
|
||||
<div class="o_RtcCallParticipantCard_container align-items-center"
|
||||
t-att-title="callParticipantCard.name"
|
||||
t-att-aria-label="callParticipantCard.name"
|
||||
@@ -88,8 +88,8 @@
|
||||
</t>
|
||||
|
||||
</div>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user