Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Отображение закрепления преподавателей за студентами #479

Merged
merged 7 commits into from
Mar 20, 2025
Prev Previous commit
Next Next commit
[frontend] refactor; update api.ts
YuriUfimtsev committed Mar 19, 2025
commit bda47193a2d59c426ff3672b98048d73c37bc1af
8 changes: 6 additions & 2 deletions hwproj.front/src/components/Courses/StudentStats.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import React, {useEffect, useState} from "react";
import {CourseViewModel, HomeworkViewModel, StatisticsCourseMatesModel, HomeworkTaskViewModel} from "../../api/";
import {
CourseViewModel,
HomeworkViewModel,
AdvancedStatisticsCourseMatesModel
} from "../../api/";
import {useNavigate, useParams} from 'react-router-dom';
import {Table, TableBody, TableCell, TableContainer, TableHead, TableRow} from "@material-ui/core";
import StudentStatsCell from "../Tasks/StudentStatsCell";
@@ -15,7 +19,7 @@ interface IStudentStatsProps {
homeworks: HomeworkViewModel[];
isMentor: boolean;
userId: string;
solutions: StatisticsCourseMatesModel[];
solutions: AdvancedStatisticsCourseMatesModel[];
}

interface IStudentStatsState {