File tree Expand file tree Collapse file tree
hwproj.front/src/components/Solutions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ import FileInfoConverter from "@/components/Utils/FileInfoConverter";
4545import { IFileInfo } from "@/components/Files/IFileInfo" ;
4646import FilesPreviewList from "@/components/Files/FilesPreviewList" ;
4747import { CourseUnitType } from "@/components/Files/CourseUnitType" ;
48+ import { UserAvatar } from "@/components/Common/UserAvatar" ;
4849
4950type TaskWithCriteria = HomeworkTaskViewModel & { } ;
5051
@@ -1026,7 +1027,7 @@ const TaskSolutionComponent: FC<ISolutionProps> = (props) => {
10261027 alignItems = { students . length === 1 ? "center" : "normal" } spacing = { 1 } >
10271028 < Stack direction = { "row" } spacing = { 1 } >
10281029 { students && students . map ( t => < Tooltip title = { t . surname + " " + t . name } >
1029- < Avatar { ... AvatarUtils . stringAvatar ( t ) } / >
1030+ < span > < UserAvatar user = { t } key = { t . userId } /> </ span >
10301031 </ Tooltip > ) }
10311032 </ Stack >
10321033 < Grid item spacing = { 1 } container direction = "column" >
You can’t perform that action at this time.
0 commit comments