mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: drop problem-assign
This commit is contained in:
1 parent
7a4681f1e5
commit
8561ce6cd1
10 files changed
+29
-60
No files matched your search
@@ -344,7 +344,7 @@ class UserDetailHandler extends Handler {
|
||||
pdocs.push(...Object.values(
|
||||
await problem.getList(
|
||||
did, psdocs.map((i) => i.docId), canViewHidden,
|
||||
this.user.group, false, problem.PROJECTION_LIST, true,
|
||||
false, problem.PROJECTION_LIST, true,
|
||||
),
|
||||
));
|
||||
}));
|
||||
@@ -366,7 +366,7 @@ class UserDetailHandler extends Handler {
|
||||
if (this.user.hasPerm(PERM.PERM_VIEW_PROBLEM)) {
|
||||
this.response.body.pdict = await problem.getList(
|
||||
domainId, psdocs.map((i) => i.parentId), canViewHidden,
|
||||
this.user.group, false, problem.PROJECTION_LIST,
|
||||
false, problem.PROJECTION_LIST,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user