core: 仅当记录不同时启用订正模式

This commit is contained in:
undefined committed 2021-06-06 12:07:09 +08:00
1 parent b1f1ceb4c9
commit e1465efcd1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "2.28.19", "version": "2.28.20",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "dist/loader.js", "main": "dist/loader.js",
"typings": "dist/loader.d.ts", "typings": "dist/loader.d.ts",
+1 -1
View File
@@ -208,7 +208,7 @@ const oi: ContestRule = {
); );
for (const pid of tdoc.pids) { for (const pid of tdoc.pids) {
// eslint-disable-next-line @typescript-eslint/no-use-before-define // eslint-disable-next-line @typescript-eslint/no-use-before-define
if (isDone(tdoc)) { if (isDone(tdoc) && tsddict[pid]?.rid !== psdict[`${tsdoc.uid}/${pid}`]?.rid) {
row.push({ row.push({
type: 'records', type: 'records',
value: '', value: '',