We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b08c57 commit 2077878Copy full SHA for 2077878
1 file changed
hwproj.front/src/components/Solutions/TaskSolutions.tsx
@@ -162,7 +162,13 @@ const TaskSolutions: FC<ITaskSolutionsProps> = (props) => {
162
<QuestionMark style={{fontSize: 15}}/>
163
</Badge>}/>
164
{student !== undefined && <Tab label="Последнее решение"/>}
165
- {arrayOfRatedSolutions.length > 0 && <Tab label="Предыдущие попытки"/>}
+ {arrayOfRatedSolutions.length > 0 && <Tab label={
166
+ <Stack direction="row" spacing={1}>
167
+ <div>Предыдущие попытки</div>
168
+ <Chip size={"small"}
169
+ color={"default"}
170
+ label={(arrayOfRatedSolutions.length)}/>
171
+ </Stack>}/>}
172
</Tabs>
173
{tabValue === 0 && <Grid item style={{marginTop: '5px'}}>
174
<TaskQuestions forMentor={forMentor}
0 commit comments