fix: errors

This commit is contained in:
2026-03-25 09:42:09 +01:00
parent 0c448c05c9
commit 5d1abafdd3
3 changed files with 5 additions and 7 deletions

View File

@@ -153,6 +153,7 @@ function validate() {
return errors
}
function saveAccount() {
const errors = validate()
if (errors.length) return
@@ -169,7 +170,7 @@ function saveAccount() {
vat: formData.value.vat,
companyAddressId: formData.value.companyAddressId,
billingAddressId: formData.value.billingAddressId,
companyAddress: selectedAddr || null
companyAddress : ''
})
router.push({ name: 'customer-data' })