mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: disable problem on invalid training node (#583)
This commit is contained in:
1 parent
2dbe92344a
commit
aba6029281
1 file changed
+1
-1
@@ -131,7 +131,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{{ problem.render_problem_title(
|
{{ problem.render_problem_title(
|
||||||
pdoc,
|
pdoc,
|
||||||
invalid=not tsdoc['enroll'],
|
invalid=not tsdoc['enroll'] or nsdict[node['_id']]['isInvalid'],
|
||||||
show_tags=false
|
show_tags=false
|
||||||
) }}
|
) }}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in new issue
Block a user