ui: fix selectUser (#1031)

This commit is contained in:
undefined committed 2025-08-08 03:27:37 +08:00
1 parent a255f53aa5
commit 17ab8b5bb0
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);
}