[IMP] mail: guard RtcControllerComponent
Task-2797754 closes odoo/odoo#86936 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.RtcController" owl="1">
|
||||
<div class="o_RtcController" t-attf-class="{{ className }}" t-ref="root">
|
||||
<t t-if="rtcController and messaging">
|
||||
<t t-if="rtcController">
|
||||
<div class="o_RtcController" t-attf-class="{{ className }}" t-ref="root">
|
||||
<div class="o_RtcController_buttons">
|
||||
<t t-if="rtcController.callViewer.threadView.thread.rtc and messaging.rtc.currentRtcSession">
|
||||
<t t-if="messaging.rtc.currentRtcSession.isMute"><t t-set="microphoneTitle">Unmute</t></t>
|
||||
@@ -120,8 +120,8 @@
|
||||
</button>
|
||||
</t>
|
||||
</div>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user