tidy for the previous commit

This commit is contained in:
Mészáros Mihály
2020-05-22 11:47:12 +02:00
parent 547e95b35c
commit 359bfac450
+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!=='' ? audio.label : index}</MenuItem> <MenuItem key={index} value={audio.deviceId}>{audio.label==='' ? index+1 : audio.label }</MenuItem>
); );
})} })}
</Select> </Select>