Skip to content

Commit

Permalink
Added default value in timetabletype button
Browse files Browse the repository at this point in the history
  • Loading branch information
MatricalDefunkt committed May 9, 2024
1 parent 47642e3 commit 19f1af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/Components/Buttons/TimetableType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TimetableType() {
label="Timetable Type"
select
fullWidth
defaultValue={""}
defaultValue={selectedValues.timetableType.value ?? ETimetableType.DIVISION}
>
{data.map((timetableType, i) => (
<MenuItem key={timetableType.name} value={timetableType.value}>
Expand Down

0 comments on commit 19f1af3

Please sign in to comment.