core&ui: fix bugs (#672)

Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
Milmonandpanda authored and GitHub committed 2023-11-10 01:44:19 +08:00
1 parent afbf3b6174
commit f305cbfc60
6 files changed
+15 -7

No files matched your search

+1
View File
@@ -162,6 +162,7 @@ export class ContestDetailBaseHandler extends Handler {
checker: () => contest.canShowScoreboard.call(this, this.tdoc, true),
},
{
name: 'problem_detail',
displayName: `${String.fromCharCode(65 + this.tdoc.pids.indexOf(pdoc.docId))}. ${pdoc.title}`,
args: { query: { tid }, pid: pdoc.docId, prefix: 'contest_detail_problem' },
checker: () => 'pdoc' in this,