core: bug fix

This commit is contained in:
undefined committed 2022-09-25 10:50:17 +08:00
1 parent a64e1857b4
commit e70b1f53ed
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -239,7 +239,7 @@ const oi = buildContestRule({
return columns;
},
async scoreboardRow(isExport, _, tdoc, pdict, udoc, rank, tsdoc, meta) {
const tsddict = tsdoc.detail;
const tsddict = tsdoc.detail || {};
const row: ScoreboardNode[] = [
{ type: 'rank', value: rank.toString() },
{ type: 'user', value: udoc.uname, raw: tsdoc.uid },