Fix contact selection on organisation

master
Max Ehrlicher-Schmidt 4 years ago
parent 50d1d45c75
commit ba5b65741f

@ -29,15 +29,15 @@ export class OrganisationComponent implements OnInit {
possibleObjects: [], possibleObjects: [],
nameToShowInSelection: (contact) => { nameToShowInSelection: (contact) => {
return ( return (
contact.person.firstName + (contact.person.firstName || '') +
' ' + ' ' +
contact.person.name + (contact.person.name || '') +
' ' + ' ' +
contact.email + (contact.email || '') +
' ' + ' ' +
contact.phone + (contact.phone || '') +
' ' + ' ' +
contact.note (contact.note || '')
); );
}, },
propertyPrefixToOverwrite: 'contactInformation', propertyPrefixToOverwrite: 'contactInformation',

Loading…
Cancel
Save