Fix styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
dbc37675a0
commit
96100ffaf3
1 changed files with 1 additions and 4 deletions
|
@ -33,10 +33,7 @@ const getDefaultDevice = (devices: Array<Partial<MediaDeviceInfo>>) => {
|
||||||
// with deviceId == the empty string: this is because Chrome gives us a device
|
// with deviceId == the empty string: this is because Chrome gives us a device
|
||||||
// with deviceId 'default', so we're looking for this, not the one we are adding.
|
// with deviceId 'default', so we're looking for this, not the one we are adding.
|
||||||
if (!devices.some((i) => i.deviceId === 'default')) {
|
if (!devices.some((i) => i.deviceId === 'default')) {
|
||||||
devices.unshift({
|
devices.unshift({ deviceId: '', label: _t('Default Device') });
|
||||||
deviceId: '',
|
|
||||||
label: _t('Default Device'),
|
|
||||||
});
|
|
||||||
return '';
|
return '';
|
||||||
} else {
|
} else {
|
||||||
return 'default';
|
return 'default';
|
||||||
|
|
Loading…
Reference in a new issue