File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed
services/frontend/src/components Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ type CourseTableModeSelectorProps = {
1919 setCurriculum : Dispatch < SetStateAction < CurriculumOption | null > >
2020 studentAmountLimit : number
2121 onStudentAmountLimitChange : ( input : string ) => void
22- showModules : boolean
2322}
2423
2524export const CourseTableModeSelector = ( {
@@ -30,7 +29,6 @@ export const CourseTableModeSelector = ({
3029 curriculumList,
3130 setCurriculum,
3231 studentAmountLimit,
33- showModules,
3432} : CourseTableModeSelectorProps ) => (
3533 < RadioGroup >
3634 < Box >
@@ -59,7 +57,6 @@ export const CourseTableModeSelector = ({
5957 < StudentAmountLimiter
6058 disabled = { courseTableMode !== 'all' }
6159 onStudentAmountLimitChange = { value => onStudentAmountLimitChange ( value . toString ( ) ) }
62- showModules = { showModules }
6360 studentAmountLimit = { studentAmountLimit }
6461 />
6562 </ >
Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ export const PopulationDetails = ({
126126 onStudentAmountLimitChange = { onStudentAmountLimitChange }
127127 setCourseTableMode = { setCourseTableMode }
128128 setCurriculum = { setCurriculum }
129- showModules = { showModules }
130129 studentAmountLimit = { studentAmountLimit }
131130 />
132131 < PopulationCourses
Original file line number Diff line number Diff line change @@ -6,15 +6,13 @@ export const StudentAmountLimiter = ({
66 onStudentAmountLimitChange,
77 studentAmountLimit,
88 disabled = false ,
9- showModules = false ,
109} : {
1110 onStudentAmountLimitChange : ( value : string | number ) => void
1211 studentAmountLimit : number
13- showModules ?: boolean
1412 disabled ?: boolean
1513} ) => (
1614 < Stack direction = "row" spacing = { 1 } sx = { { alignItems : 'center' } } >
17- < Typography fontWeight = { 500 } > Show all { showModules ? ' modules' : 'courses' } with at least</ Typography >
15+ < Typography fontWeight = { 500 } > Show all courses or modules with at least</ Typography >
1816 < NumericTextField
1917 disabled = { disabled }
2018 initialValue = { studentAmountLimit }
You can’t perform that action at this time.
0 commit comments