mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: contest_scoreboard: check isExport
This commit is contained in:
1 parent
1d6c67f04d
commit
010bb72533
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hydrooj",
|
"name": "hydrooj",
|
||||||
"version": "2.39.31",
|
"version": "2.39.32",
|
||||||
"bin": "bin/hydrooj.js",
|
"bin": "bin/hydrooj.js",
|
||||||
"main": "src/loader",
|
"main": "src/loader",
|
||||||
"module": "src/loader",
|
"module": "src/loader",
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ const oi: ContestRule = {
|
|||||||
? `${tsdoc.uid}/${pid.toString().replace(':', '/')}`
|
? `${tsdoc.uid}/${pid.toString().replace(':', '/')}`
|
||||||
: `${tsdoc.uid}/${tdoc.domainId}/${pid}`;
|
: `${tsdoc.uid}/${tdoc.domainId}/${pid}`;
|
||||||
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
||||||
const node: ScoreboardNode = isDone(tdoc) && tsddict[pid]?.rid?.toHexString() !== psdict[index]?.rid?.toHexString()
|
const node: ScoreboardNode = (!isExport && isDone(tdoc) && tsddict[pid]?.rid?.toHexString() !== psdict[index]?.rid?.toHexString())
|
||||||
? {
|
? {
|
||||||
type: 'records',
|
type: 'records',
|
||||||
value: '',
|
value: '',
|
||||||
|
|||||||
Reference in new issue
Block a user