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 d98ffda6e789d4cdc1f8b2b9dc247a36c424bbdc..2e0e12177609f23cff87e896e659af2f0545085c 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 @@ -33,7 +33,7 @@ export class EditIndividualsComponent implements OnInit { individualID: string individual: Individual - geographicSite: GeographicSite + geographicSite: GeographicSite organizations: Organization[] @@ -175,7 +175,7 @@ export class EditIndividualsComponent implements OnInit { // updateObj = this.editForm.value let updatedIndividual: Individual - + if (this.newIndividual) { // const definedCharacteristics = this.editForm.get('partyCharacteristic').value.filter(el => el.value) // if (definedCharacteristics.length) updateObj.partyCharacteristic = definedCharacteristics @@ -245,7 +245,7 @@ export class EditIndividualsComponent implements OnInit { privateStreetNumber: this.geographicSite.place[0].geographicAddress.geographicSubAddress.privateStreetNumber , subAddressType: this.geographicSite.place[0].geographicAddress.geographicSubAddress.subAddressType } - + }) // if (this.individual.partyCharacteristic.length) { @@ -270,7 +270,7 @@ export class EditIndividualsComponent implements OnInit { code:this.editForm.value.geographicSiteInfo.code, description: this.editForm.value.geographicSiteInfo.description, relatedParty: [{ - id:this.individualID + id: id }], externalIdentifier: [], calendar:[],