Skip to content

Commit 14b7737

Browse files
committed
Homework: не показывать кнопку редактирования для групп
1 parent d7aea78 commit 14b7737

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hwproj.front/src/components/Homeworks/CourseHomeworkExperimental.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ const CourseHomeworkEditor: FC<{
433433
groups={props.groups}
434434
/>
435435
</CardContent>
436-
{!isNewHomework &&
436+
{!isNewHomework && !isPublished &&
437437
<CardActions>
438438
<LoadingButton
439439
fullWidth

0 commit comments

Comments
 (0)