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,
|
gain: 1,
|
||||||
baseGain: 1,
|
baseGain: 1,
|
||||||
openError: null,
|
openError: null,
|
||||||
id: null,
|
id: "None",
|
||||||
calibration: false
|
calibration: false
|
||||||
}
|
}
|
||||||
} as MixerState,
|
} as MixerState,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue