Skip to content

Commit

Permalink
Merge pull request #203 from osu-tournament-rating/mania-form-changes
Browse files Browse the repository at this point in the history
Submission form split mania to 4k and 7k
  • Loading branch information
hburn7 authored Aug 24, 2024
2 parents 6426d2e + eae234d commit 250df64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions components/SubmitMatches/MatchForm/MatchForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,12 @@ export default function MatchForm({
{state?.errors?.mode}
</span>
<select name="gameMode" id={styles.gamemode} required={true}>
<option value={0}>osu!Standard</option>
<option value={1}>osu!Taiko</option>
<option value={2}>osu!Catch</option>
<option value={3}>osu!Mania</option>
<option value={0}>osu!</option>
<option value={1}>osu!taiko</option>
<option value={2}>osu!catch</option>
<option value={4}>osu!mania 4K</option>
<option value={5}>osu!mania 7K</option>
<option value={3}>osu!mania (Other)</option>
</select>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const MatchesSubmitFormSchema = z.object({
]),
rankRangeLowerBound: z.number().min(1),
teamSize: z.number().min(1).max(8),
mode: z.number().min(0).max(3),
mode: z.number().min(0).max(5),
submitterId: z.number().positive(),
ids: z
.array(
Expand Down

0 comments on commit 250df64

Please sign in to comment.