We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d98abfe commit b56891cCopy full SHA for b56891c
hwproj.front/src/components/Courses/StudentStats.tsx
@@ -204,7 +204,8 @@ const StudentStats: React.FC<IStudentStatsProps> = (props) => {
204
solutions
205
.find(s => s.id === cm.id)?.homeworks!
206
.find(h => h.id === homework.id)?.tasks!
207
- .flatMap(t => StudentStatsUtils.calculateLastRatedSolution(t.solution || [])?.rating || 0)!
+ .flatMap(t => StudentStatsUtils.calculateLastRatedSolution(t.solution || [])?.rating || 0)
208
+ || []
209
)
210
return testRatings[0]!
211
.map((_, columnId) => testRatings.map(row => row[columnId]))
0 commit comments