FF don't allows fingerprinting handle empty label

auto_join_3.3
Mészáros Mihály 2020-05-22 11:45:14 +02:00
parent d1ffe6cd43
commit 547e95b35c
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ const MediaSettings = ({
{ audioDevices.map((audio, index) =>
{
return (
<MenuItem key={index} value={audio.deviceId}>{audio.label}</MenuItem>
<MenuItem key={index} value={audio.deviceId}>{audio.label!=='' ? audio.label : index}</MenuItem>
);
})}
</Select>