diff --git a/ComApp/src/App/Views/ContactScreen.js b/ComApp/src/App/Views/ContactScreen.js index 1b6539f..3a94557 100644 --- a/ComApp/src/App/Views/ContactScreen.js +++ b/ComApp/src/App/Views/ContactScreen.js @@ -266,7 +266,9 @@ class ContactScreen extends React.Component { */ Item(contact) { const displayName = - String(contact.lastname ?? '').toUpperCase() + ' ' + contact.firstname; + String(contact.lastname ?? '').toUpperCase() + + ' ' + + (contact.firstname ?? ''); return ( - {contact.lastname && contact.firstname ? displayName : contact.id} + {contact.lastname || contact.firstname ? displayName : contact.id} this.composeNewEmailTo(contact.email)}>