diff --git a/src/app/store/contacts-data.service.ts b/src/app/store/contacts-data.service.ts index 6702f89..f708718 100644 --- a/src/app/store/contacts-data.service.ts +++ b/src/app/store/contacts-data.service.ts @@ -55,7 +55,7 @@ export class ContactsDataService { var ik = 0; contactResult.contacts.map(( contact )=>{ - if (ik ==0 ){ + if (ik < 5 ){ alert(contact); } ik++;