Merge branch 'master' of github.com:UniversityRadioYork/WebStudio

This commit is contained in:
Marks Polakovs 2020-04-02 20:24:17 +02:00
commit 207f5127de
2 changed files with 2 additions and 2 deletions

View file

@ -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,

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>