disables button if current mic selected
This commit is contained in:
parent
b8d4e02d4e
commit
da749ad2eb
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ function MicControl() {
|
||||||
<div className="sp-col" style={{ height: "48%", overflowY: "visible" }}>
|
<div className="sp-col" style={{ height: "48%", overflowY: "visible" }}>
|
||||||
<h2>Microphone</h2>
|
<h2>Microphone</h2>
|
||||||
<button
|
<button
|
||||||
disabled={state.open}
|
disabled={state.id == micSource}
|
||||||
onClick={() => dispatch(MixerState.openMicrophone(micSource))}
|
onClick={() => dispatch(MixerState.openMicrophone(micSource))}
|
||||||
>
|
>
|
||||||
Open
|
Open
|
||||||
|
|
Loading…
Reference in a new issue