fix: discard unsaved edits when the admin Edit User dialog is closed (#30193)

This commit is contained in:
G30
2026-09-19 17:21:44 -04:00
committed by GitHub
parent 4922b91c07
commit 76bd90c832
@@ -28,8 +28,7 @@
const init = () => {
if (selectedUser) {
_user = selectedUser;
_user.password = '';
_user = { ...selectedUser, password: '' };
loadUserGroups();
}
};