Skip to content

Commit feae5ea

Browse files
committed
Course: подсветка для заголовков кр
1 parent 33b2aca commit feae5ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

hwproj.front/src/components/Courses/CourseExperimental.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,10 @@ export const CourseExperimental: FC<ICourseExperimentalProps> = (props) => {
565565
}))
566566
}}>
567567
<Typography variant="h6" style={{fontSize: 18}} align={"center"}
568-
color={x.isDeferred ? "textSecondary" : "textPrimary"}>
569-
{renderHomeworkStatus(x)}
568+
color={x.isDeferred
569+
? "textSecondary"
570+
: x.tags!.includes(TestTag) ? "primary" : "textPrimary"}>
571+
{isMentor && renderHomeworkStatus(x)}
570572
{x.title}{getTip(x)}
571573
</Typography>
572574
{x.isDeferred && !x.publicationDateNotSet &&

0 commit comments

Comments
 (0)