Skip to content

Commit

Permalink
fix: refine controls also needed semester
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustChew committed Jun 2, 2024
1 parent fcd877a commit f509fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Courses/RefineControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const RefineControls: FC<{ form: UseFormReturn<RefineControlFormTypes> }> = ({ f
name="className"
placeholder={dict.course.refine.class}
loading={load3}
options={classList.map(classname => ({ value: classname, label: getFormattedClassCode(classname) }))}
options={classList.map(classname => ({ value: classname, label: getFormattedClassCode(classname, semester) }))}
label={dict.course.refine.compulsory_elective}
/>
<MultiCheckboxControl control={form.control} name="others" options={[
Expand Down

0 comments on commit f509fe5

Please sign in to comment.