From 132ed8a89ec2eac7823eaca7a704970e2b6e32d1 Mon Sep 17 00:00:00 2001 From: Alexandr SaVBaD Waltz Date: Tue, 10 Mar 2026 13:38:01 +0300 Subject: [PATCH] feat(addresses): add delete button to address card Enhanced address management UI by introducing a delete button to the address card component. Moved address deletion logic from the profile page to the card for better modularity. - Added a delete icon to `address.vue` with hover effect and error color styling. - Integrated `useAddressDelete` composable into the card for deletion handling. - Updated SCSS to style the delete button with proper alignment and spacing. Improves usability and keeps the address management interface consistent and intuitive. No breaking changes. --- storefront/app/components/cards/address.vue | 27 ++++++++++++++++++++- storefront/app/pages/profile/addresses.vue | 2 -- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/storefront/app/components/cards/address.vue b/storefront/app/components/cards/address.vue index 1386711d..04aa80c8 100644 --- a/storefront/app/components/cards/address.vue +++ b/storefront/app/components/cards/address.vue @@ -1,6 +1,14 @@