alert added

This commit is contained in:
CHIEFSOFT\ameye
2024-09-12 15:44:13 -04:00
parent 10bbe3f694
commit 946597cfd4
+9 -5
View File
@@ -22,19 +22,21 @@ export class ContactsDataService {
//return;
}
else{
return;
// return;
}
/*
debugger;
Contacts.getContacts({projection: {
name: true,
phones: true,
image: true,
emails: true
}}).then( result=>{
console.log(result);
this.cacheContactsForAccount(result);
alert("0001");
console.log(result);
this.cacheContactsForAccount(result);
});
*/
const retrieveListOfContacts = async () => {
const projection = {
// Specify which fields should be retrieved.
@@ -48,7 +50,9 @@ export class ContactsDataService {
const result = await Contacts.getContacts({
projection,
}).then(result=>{
alert("0002");
console.log(result);
result.contacts
this.cacheContactsForAccount(result);
});
}