mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-27 01:40:33 -04:00
fix: discard unsaved edits when the admin Edit User dialog is closed (#30193)
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
|
||||
const init = () => {
|
||||
if (selectedUser) {
|
||||
_user = selectedUser;
|
||||
_user.password = '';
|
||||
_user = { ...selectedUser, password: '' };
|
||||
loadUserGroups();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user