Skip to content

Commit 03531e9

Browse files
committed
wip
1 parent b354891 commit 03531e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import {MoreVert} from "@mui/icons-material";
3737
import {DotLottieReact} from "@lottiefiles/dotlottie-react";
3838
import {FilesUploadWaiter} from "@/components/Files/FilesUploadWaiter";
3939
import {CourseUnitType} from "@/components/Files/CourseUnitType";
40+
import Utils from "@/services/Utils";
4041

4142
type TabValue = "homeworks" | "stats" | "applications"
4243

@@ -321,7 +322,7 @@ const Course: React.FC = () => {
321322
{isCourseMentor && groups.length > 0 && studentsWithoutGroup.length > 0 &&
322323
<Grid item>
323324
<Tooltip
324-
title={studentsWithoutGroup.length + " студентов не записано в группы"}
325+
title={studentsWithoutGroup.length + " " + Utils.pluralizeHelper(["студент", "студента", "студентов"], studentsWithoutGroup.length) + " без группы"}
325326
arrow
326327
placement="right-end"
327328
>

0 commit comments

Comments
 (0)