update errors

This commit is contained in:
Casey 2026-02-18 17:38:47 -06:00
parent 17fb06d6d3
commit d87e70097b
8 changed files with 63 additions and 30 deletions

View file

@ -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;