mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix selectUser (#1031)
This commit is contained in:
5 files changed
+30
-19
No files matched your search
@@ -48,7 +48,7 @@ const page = new NamedPage('manage_user_priv', () => {
|
||||
|
||||
async function handleClickSelectUser() {
|
||||
const target = await selectUser();
|
||||
if (!target) return;
|
||||
if (!target?._id) return;
|
||||
const user = await request.get(`/user/${target._id}`);
|
||||
handleOpenUserPrivDialog(user.udoc);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user