This commit is contained in:
thekingofjibs 2020-03-31 22:02:31 +01:00
parent 605fddc3dc
commit 321e4ccece

View file

@ -176,7 +176,7 @@ function MicControl() {
<option value={"None"} disabled label="Choose a microphone"></option> <option value={"None"} disabled label="Choose a microphone"></option>
{ {
micList.map(function(e,i) { micList.map(function(e,i) {
return <option value={e.deviceId} key={i}>{e.label}</option>; return <option value={e.deviceId} key={i}>{e.label !== "" ? e.label : e.deviceId}</option>;
}) })
} }
</select> </select>