Changes made to address book does not reflect in UI
MohanNarayana opened this issue · 1 comments
MohanNarayana commented
Type: minor
Describe the bug
Upon adding a new address or deleting an address the changes do not reflect immediately on UI. It only takes effect after browser refresh. The changes are persisted at DB level. Deleting a pre deleted address gives an appropriate address not found GraphQL error.
To Reproduce
Steps to reproduce the behavior:
- On the storefront UI go to Profile - > Address Book
- Add or delete an address.
- Navigate to Orders on the same page and go back to Address Book. The list is not updated with the cahange.
- Navigate out of the profile page (maybe home page or cart. Explore some products). Go back to address book. The list is not updated with the cahange.
- Refresh the browser. The list is now updated with the cahange.
Expected behavior
The address book should refresh with the changes right after clicking save/delete.
Delete should have a delete confirmation dialogue.
Screenshots
Desktop (please complete the following information):
- OS: macOS Catalina
- Browser Chrome
- Version 10.15.7