This commit is contained in:
Peter Maquiran
2023-07-25 15:56:42 +01:00
parent a26f7c4f75
commit 2628bc91e8
6 changed files with 111 additions and 66 deletions
+6
View File
@@ -17,6 +17,8 @@ export class ContactsService {
loggeduser: LoginUserRespose;
headers: HttpHeaders;
constacts: EventPerson[] = []
constructor(
private http: HttpClient,
user: AuthService,
@@ -26,6 +28,10 @@ export class ContactsService {
this.changeProfileService.registerCallback(() => {
this.setHeader()
})
this.getContacts("").subscribe( result => {
this.constacts = result
})
}
setHeader() {