Skip to content

Commit 6ba95e2

Browse files
committed
CourseFilter: фикс для отобржаения студента
1 parent baa949f commit 6ba95e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hwproj.front/src/components/Courses/CourseFilter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const CourseFilter: FC<ICourseFilterProps> = (props) => {
150150
multiple
151151
fullWidth
152152
options={state.courseStudents}
153-
getOptionLabel={(option: AccountDataDto) => option.name + ' ' + option.surname}
153+
getOptionLabel={(option: AccountDataDto) => option.surname + ' ' + option.name}
154154
getOptionKey={(option: AccountDataDto) => option.userId ?? ""}
155155
filterSelectedOptions
156156
isOptionEqualToValue={(option, value) => option.userId === value.userId}

0 commit comments

Comments
 (0)