mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
scoreboard user filter
This commit is contained in:
1 parent
cd8efa2025
commit
534fc4bb3b
3 files changed
+60
-5
No files matched your search
@@ -127,7 +127,7 @@ const acm = buildContestRule({
|
||||
async scoreboardRow(isExport, _, tdoc, pdict, udoc, rank, tsdoc, meta) {
|
||||
const tsddict = tsdoc.detail || {};
|
||||
const row: ScoreboardRow = [
|
||||
{ type: 'rank', value: rank ? rank.toString() : '*' },
|
||||
{ type: 'rank', value: rank ? rank.toString() : '*', raw: rank },
|
||||
{ type: 'user', value: udoc.uname, raw: tsdoc.uid },
|
||||
];
|
||||
if (isExport) {
|
||||
@@ -263,7 +263,7 @@ const oi = buildContestRule({
|
||||
async scoreboardRow(isExport, _, tdoc, pdict, udoc, rank, tsdoc, meta) {
|
||||
const tsddict = tsdoc.detail || {};
|
||||
const row: ScoreboardNode[] = [
|
||||
{ type: 'rank', value: rank ? rank.toString() : '*' },
|
||||
{ type: 'rank', value: rank ? rank.toString() : '*', raw: rank },
|
||||
{ type: 'user', value: udoc.uname, raw: tsdoc.uid },
|
||||
];
|
||||
if (isExport) {
|
||||
|
||||
Reference in new issue
Block a user