update errors
This commit is contained in:
parent
17fb06d6d3
commit
d87e70097b
8 changed files with 63 additions and 30 deletions
|
|
@ -389,7 +389,9 @@ const handleSubmit = async () => {
|
|||
}
|
||||
const addressesExist = await Api.checkAddressesExist(client.value.addresses);
|
||||
const contactsExist = await Api.checkContactsExist(client.value.contacts);
|
||||
if (addressesExist || contactsExist) {
|
||||
console.log("Address existence check:", addressesExist);
|
||||
console.log("Contact existence check:", contactsExist);
|
||||
if (addressesExist.length > 0 || contactsExist.length > 0) {
|
||||
// existingAddresses.value = Array.isArray(addressesExist) ? addressesExist : [];
|
||||
// existingContacts.value = Array.isArray(contactsExist) ? contactsExist : [];
|
||||
showExistingModal.value = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue