diff --git a/src/app/group/components/group-candidates/group-candidates.component.html b/src/app/group/components/group-candidates/group-candidates.component.html index e6f2369..d83482e 100644 --- a/src/app/group/components/group-candidates/group-candidates.component.html +++ b/src/app/group/components/group-candidates/group-candidates.component.html @@ -11,7 +11,7 @@
diff --git a/src/app/group/components/group-candidates/group-candidates.component.ts b/src/app/group/components/group-candidates/group-candidates.component.ts index a66570b..cde8f16 100644 --- a/src/app/group/components/group-candidates/group-candidates.component.ts +++ b/src/app/group/components/group-candidates/group-candidates.component.ts @@ -1,4 +1,4 @@ -import { Component, Input, OnInit } from '@angular/core'; +import { Component, Input, OnInit, Output, EventEmitter } from '@angular/core'; import { User } from 'src/app/user/interfaces/user.interface'; @Component({ @@ -9,6 +9,8 @@ import { User } from 'src/app/user/interfaces/user.interface'; export class GroupCandidatesComponent implements OnInit { @Input() candidates: User[]; + @Output() accept = new EventEmitter