ui: fix display

This commit is contained in:
undefined committed 2021-06-29 21:37:19 +08:00
1 parent 791877098b
commit bc4d424abf
6 files changed
+5 -6

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.12.1",
"version": "4.12.2",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -48,7 +48,6 @@
<option value="7">{{ _('Compile Error') }}</option>
<option value="8">{{ _('System Error') }}</option>
</select>
</div>
</div>
</div>
@@ -13,7 +13,7 @@
</button> |
</form>
{% endif %}
{% if pdoc and (not pdoc.hidden or handler.user.hasPerm(perm.PERM_VIEW_PROBLEM_HIDDEN)) %}
{% if pdoc and (not pdoc.hidden or handler.user.hasPerm(perm.PERM_VIEW_PROBLEM_HIDDEN) or handler.user.own(pdoc)) %}
{{ problem.render_problem_title(pdoc, show_tags=false) }}
{% else %}
*