[FIX] mail: change incorrect component names

Before this commit, the name of the component incorrect names were used
instead of `RtcConfigurationMenuDeviceComponent`.

This commit fixes this issue.

closes odoo/odoo#91303

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Thanh Dodeur
2022-05-13 13:18:57 +02:00
parent 6768e77f9b
commit 9b6b4c902b
2 changed files with 2 additions and 2 deletions
@@ -10,7 +10,7 @@
<select name="inputDevice" class="o_RtcConfigurationMenu_optionDeviceSelect" t-att-value="messaging.userSetting.audioInputDeviceId" t-on-change="rtcConfigurationMenu.onChangeSelectAudioInput">
<option value="">Browser default</option>
<t t-if="state.userDevices" t-foreach="state.userDevices" t-as="device" t-key="device_index">
<RtcConfigurationMenuDeviceComponent device="device"/>
<RtcConfigurationMenuDevice device="device"/>
</t>
</select>
</div>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-name="mail.RtcConfigurationMenuDeviceComponent" owl="1">
<t t-name="mail.RtcConfigurationMenuDevice" owl="1">
<t t-if="props.device.kind === 'audioinput'">
<option t-att-value="props.device.deviceId" t-attf-class="{{ className }}" t-ref="root"><t t-esc="props.device.label"/></option>
</t>