Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/M3-intergration-test' into M3-in…
Browse files Browse the repository at this point in the history
…tergration-test
  • Loading branch information
yixuan-zhou-uzh committed Apr 25, 2024
2 parents 5b9ca84 + d663197 commit 7c903e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const Dropdown = (props) => {
style={props.style}
onChange={handleChange}
defaultValue={props.defaultValue}>
{props.prompt && <option hidden disabled selected value>{props.prompt}</option>}
{props.prompt && <option hidden disabled selected value="">{props.prompt}</option>}
{props.options.map((option, index) => (
<option key={index} value={option.value}>
{option.label}
Expand Down
4 changes: 4 additions & 0 deletions src/components/views/Gameroom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,10 @@ const Gameroom = () => {
ffmpeg={ffmpegObj}
audioName={"my_recording"}
handleReversedAudioChange={handleAudioReversed}
disabled={
(currentSpeakerID !== user.id && currentStatus === "speak") ||
currentStatus === "reveal"
}
/>
</div>
</div>
Expand Down

0 comments on commit 7c903e1

Please sign in to comment.