We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a482b1 commit 8e206c2Copy full SHA for 8e206c2
1 file changed
hwproj.front/src/components/Solutions/TaskSolutionsPage.tsx
@@ -61,10 +61,10 @@ const TaskSolutionsPage: FC<RouteComponentProps<ITaskSolutionsProps>> = (props)
61
if (taskSolution.isLoaded) {
62
if (
63
!ApiSingleton.authService.isLoggedIn() ||
64
- taskSolution.course.mentorIds!.includes(userId!) ||
65
!taskSolution.course.courseMates!.some(
66
(cm) => cm.isAccepted! && cm.studentId == userId
67
- )
+ ) ||
+ !taskSolution.course.mentorIds!.includes(userId!)
68
)
69
{
70
return (
0 commit comments