We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24c2dc5 commit c37792bCopy full SHA for c37792b
1 file changed
hwproj.front/src/components/Tasks/TaskQuestions.tsx
@@ -168,8 +168,8 @@ const TaskQuestions: FC<ITaskQuestionsProps> = (props) => {
168
</Button>
169
</Stack>
170
}>
171
- {student && <ReactLink style={{color: "inherit", cursor: "pointer"}}
172
- to={`/task/${props.taskId}/${student.userId}`}>
+ {props.forMentor && student && <ReactLink style={{color: "inherit", cursor: "pointer"}}
+ to={`/task/${props.taskId}/${student.userId}`}>
173
<Stack alignItems={"center"} direction={"row"}>
174
<Typography variant={"subtitle2"}>
175
{student.surname + " " + student.name}
0 commit comments