fix: create Account Page

This commit is contained in:
2026-03-23 16:14:43 +01:00
parent 508418523f
commit d0c1f49d3e
15 changed files with 461 additions and 83 deletions

View File

@@ -86,10 +86,10 @@ export const useAddressStore = defineStore('address', () => {
function updateAddress(id: number, formData: AddressFormData): boolean {
const index = addresses.value.findIndex(a => a.id === id)
if (index === -1) return false
if (index === -1) return false
const existing = addresses.value[index]
if (!existing) return false
if (!existing) return false
addresses.value[index] = {
id: existing.id,