Commit 2502ad35 authored by Labros Papadopoulos's avatar Labros Papadopoulos
Browse files

fix referredGivenName bug

parent 78ca6661
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -168,6 +168,7 @@ export class EditIndividualsComponent implements OnInit {
    let updateObj: IndividualCreate | IndividualUpdate = {
    let updateObj: IndividualCreate | IndividualUpdate = {
      familyName: this.editForm.value.familyName,
      familyName: this.editForm.value.familyName,
      givenName: this.editForm.value.givenName,
      givenName: this.editForm.value.givenName,
      preferredGivenName: this.editForm.value.givenName,
      location: this.editForm.value.location,
      location: this.editForm.value.location,
      contactMedium: [{
      contactMedium: [{
        mediumType: 'main',
        mediumType: 'main',
@@ -226,7 +227,7 @@ export class EditIndividualsComponent implements OnInit {
  }
  }


  retrieveGeographicSite(){
  retrieveGeographicSite(){
    this.geographicSiteService.retrieveGeographicSite(this.individualID).subscribe(
    this.geographicSiteService.retrieveGeographicSite("myuser").subscribe(
      data => this.geographicSite = data,
      data => this.geographicSite = data,
      error => console.error(error),
      error => console.error(error),
      () => {
      () => {