core: handle problem projection

This commit is contained in:
undefined committed 2022-02-10 20:44:30 +08:00
1 parent 3daafe5396
commit 9ea781f800
5 files changed
+18 -6

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ export class ContestDetailHandler extends Handler {
tdoc, tsdoc, udict, page,
};
if (contest.isNotStarted(tdoc)) return;
const pdict = await problem.getList(domainId, tdoc.pids, true);
const pdict = await problem.getList(domainId, tdoc.pids, true, undefined, undefined, problem.PROJECTION_CONTEST_LIST);
const psdict = {};
let rdict = {};
if (tsdoc) {