mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: fix testcase id
This commit is contained in:
1 parent
cbd5db1ecf
commit
a9390d6546
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.37.17",
|
||||
"version": "4.37.18",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{%- for rcdoc in rdoc.testCases|sort(false,false,'id') -%}
|
||||
<tr>
|
||||
<td class="col--case record-status--border {{ model.builtin.STATUS_CODES[rcdoc['status']] }}">
|
||||
#{{ rcdoc.id or loop.index }}
|
||||
#{{ rcdoc.id|default(loop.index) }}
|
||||
</td>
|
||||
<td class="col--status">
|
||||
<span class="icon record-status--icon {{ model.builtin.STATUS_CODES[rcdoc['status']] }}"></span>
|
||||
|
||||
Reference in new issue
Block a user