FF don't allows fingerprinting handle empty label

This commit is contained in:
Mészáros Mihály
2020-05-22 11:45:14 +02:00
parent d1ffe6cd43
commit 547e95b35c
+1 -1
View File
@@ -339,7 +339,7 @@ const MediaSettings = ({
{ audioDevices.map((audio, index) => { audioDevices.map((audio, index) =>
{ {
return ( return (
<MenuItem key={index} value={audio.deviceId}>{audio.label}</MenuItem> <MenuItem key={index} value={audio.deviceId}>{audio.label!=='' ? audio.label : index}</MenuItem>
); );
})} })}
</Select> </Select>