From 2502ad356990f76f4b5cf8d17b11da95a14a7d98 Mon Sep 17 00:00:00 2001 From: lpapadopoulos <lpapadopoulos@ubitech.eu> Date: Tue, 28 May 2024 18:52:05 +0300 Subject: [PATCH] fix referredGivenName bug --- .../edit-individuals/edit-individuals.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts b/src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts index bd1d93c..7306dc3 100644 --- a/src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts +++ b/src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts @@ -168,6 +168,7 @@ export class EditIndividualsComponent implements OnInit { let updateObj: IndividualCreate | IndividualUpdate = { familyName: this.editForm.value.familyName, givenName: this.editForm.value.givenName, + preferredGivenName: this.editForm.value.givenName, location: this.editForm.value.location, contactMedium: [{ mediumType: 'main', @@ -226,7 +227,7 @@ export class EditIndividualsComponent implements OnInit { } retrieveGeographicSite(){ - this.geographicSiteService.retrieveGeographicSite(this.individualID).subscribe( + this.geographicSiteService.retrieveGeographicSite("myuser").subscribe( data => this.geographicSite = data, error => console.error(error), () => { -- GitLab