Show contact name when you reply to message with a contact
This commit is contained in:
parent
cdfe4d76b1
commit
8beeef4d10
3 changed files with 16 additions and 8 deletions
|
@ -97,3 +97,8 @@ export function contactSelector(
|
|||
})),
|
||||
});
|
||||
}
|
||||
|
||||
export function getName(contact: Contact): string | null {
|
||||
const { name, organization } = contact;
|
||||
return (name && name.displayName) || organization || null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue