From ba5b65741f777b18da865eedb33f3b7f0daf0bc8 Mon Sep 17 00:00:00 2001 From: Max Ehrlicher-Schmidt Date: Wed, 16 Dec 2020 17:23:46 +0100 Subject: [PATCH] Fix contact selection on organisation --- .../dataPages/organisation/organisation.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/pages/dataPages/organisation/organisation.component.ts b/src/app/pages/dataPages/organisation/organisation.component.ts index 5577256..3ba21ae 100644 --- a/src/app/pages/dataPages/organisation/organisation.component.ts +++ b/src/app/pages/dataPages/organisation/organisation.component.ts @@ -29,15 +29,15 @@ export class OrganisationComponent implements OnInit { possibleObjects: [], nameToShowInSelection: (contact) => { 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',