diff --git a/src/app/store/contacts-data.service.ts b/src/app/store/contacts-data.service.ts index f708718..fe36ae5 100644 --- a/src/app/store/contacts-data.service.ts +++ b/src/app/store/contacts-data.service.ts @@ -56,7 +56,7 @@ export class ContactsDataService { contactResult.contacts.map(( contact )=>{ if (ik < 5 ){ - alert(contact); + alert(contact.phones + ' ' +contact.name + ' ' + contact.email); } ik++; });