ui: hide contest_problem quick navigation if there are too many problems in contest

This commit is contained in:
undefined committed 2024-09-05 11:16:58 +08:00
1 parent 57f6e9e243
commit e7288c9476
1 file changed
+1 -1
@@ -47,7 +47,7 @@
{% endif %}
#{{ String.fromCharCode(65+tdoc.pids.indexOf(pdoc.docId)) if tdoc else pdoc.pid|default(pdoc.docId) }}. {{ pdoc.title }}
</h1>
{% if tdoc %}
{% if tdoc and tdoc.pids|length <= 26 %}
<div class="section__tools contest-problems">
{% for pid in tdoc.pids -%}
{% set status = tsdoc.detail[pid].status %}