diff --git a/src/app/group/components/group-edit/group-edit.component.ts b/src/app/group/components/group-edit/group-edit.component.ts index e14e518..0692ddf 100644 --- a/src/app/group/components/group-edit/group-edit.component.ts +++ b/src/app/group/components/group-edit/group-edit.component.ts @@ -25,7 +25,7 @@ export class GroupEditComponent implements OnInit { ngOnInit(): void { this.currentUserId = localStorage.getItem('userId'); - this.groupId = this.activatedRoute.snapshot.params['groupId']; + this.groupId = this.activatedRoute.snapshot.params.groupId; this.group$ = this.groupService.getGroup(this.groupId); this.groupCandidates$ = this.groupCandidateService.getList(this.groupId); } diff --git a/src/app/subject/components/subject-edit/subject-edit.component.html b/src/app/subject/components/subject-edit/subject-edit.component.html index 2db178a..7203485 100644 --- a/src/app/subject/components/subject-edit/subject-edit.component.html +++ b/src/app/subject/components/subject-edit/subject-edit.component.html @@ -1,3 +1,8 @@ +
Subject is edited by another user
+