This PR addresses the issue where attempting to update a user's email address to one already associated with another user did not display an error message on the frontend. Previously, when an admin tried to update the email address under these circumstances, the frontend provided no feedback, leaving the user unaware of the issue.
Fix:
The frontend now displays a clear error message when the backend reports that the email address already exists. This ensures admins receive immediate feedback and can take corrective action.
This PR addresses the issue where attempting to update a user's email address to one already associated with another user did not display an error message on the frontend. Previously, when an admin tried to update the email address under these circumstances, the frontend provided no feedback, leaving the user unaware of the issue.
Fix: The frontend now displays a clear error message when the backend reports that the email address already exists. This ensures admins receive immediate feedback and can take corrective action.
https://github.com/user-attachments/assets/3a86621a-3f09-45e5-a5c6-c02cdbf83da6