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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,8 +28,7 @@
const init = () => {
if (selectedUser) {
_user = selectedUser;
_user.password = '';
_user = { ...selectedUser, password: '' };
loadUserGroups();
}
};