Merge branch 'master' of github.com:UniversityRadioYork/WebStudio
This commit is contained in:
commit
207f5127de
2 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ const mixerState = createSlice({
|
|||
gain: 1,
|
||||
baseGain: 1,
|
||||
openError: null,
|
||||
id: null,
|
||||
id: "None",
|
||||
calibration: false
|
||||
}
|
||||
} as MixerState,
|
||||
|
|
|
@ -176,7 +176,7 @@ function MicControl() {
|
|||
<option value={"None"} disabled label="Choose a microphone"></option>
|
||||
{
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue