Compute from embedded contact's displayName

This commit is contained in:
Fedor Indutny
2024-10-01 14:46:56 -07:00
committed by GitHub
parent f730b0c82b
commit bb69f81b9f
8 changed files with 63 additions and 51 deletions

View File

@@ -101,7 +101,6 @@ const fullContact = {
prefix: 'Dr.',
suffix: 'Jr.',
middleName: 'James',
displayName: 'Jerry Jordan',
},
number: [
{

View File

@@ -1916,7 +1916,6 @@ const fullContact = {
prefix: 'Dr.',
suffix: 'Jr.',
middleName: 'James',
displayName: 'Jerry Jordan',
},
number: [
{
@@ -1987,7 +1986,7 @@ export const EmbeddedContactLoadingAvatar = Template.bind({});
EmbeddedContactLoadingAvatar.args = {
contact: {
name: {
displayName: 'Jerry Jordan',
nickname: 'Jerry',
},
avatar: {
avatar: fakeAttachment({