mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: fix homework scoreboard does not display 0 score (#424)
This commit is contained in:
1 parent
b837ae604a
commit
316d9d5342
2 files changed
+3
-3
No files matched your search
@@ -408,8 +408,8 @@ const homework = buildContestRule({
|
||||
row.push({ type: 'time', value: formatSeconds(tsdoc.time || 0, false), raw: tsdoc.time });
|
||||
for (const pid of tdoc.pids) {
|
||||
const rid = tsddict[pid]?.rid;
|
||||
const colScore = tsddict[pid]?.penaltyScore || '';
|
||||
const colOriginalScore = tsddict[pid]?.score || '';
|
||||
const colScore = tsddict[pid]?.penaltyScore ?? '';
|
||||
const colOriginalScore = tsddict[pid]?.score ?? '';
|
||||
const colTime = tsddict[pid]?.time || '';
|
||||
const colTimeStr = colTime ? formatSeconds(colTime, false) : '';
|
||||
if (isExport) {
|
||||
|
||||
Reference in new issue
Block a user