Skip to content

Commit 6e2b928

Browse files
committed
Fix output limit warning.
This broke after trying to fix another bug in 43b9c88. (cherry picked from commit b3811b5)
1 parent bab1f7d commit 6e2b928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/templates/jury/submission.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@
727727
show complete metadata
728728
</button>
729729
{% if runsOutput[runIdx].metadata is not null %}
730-
{% if runsOutput[runIdx].output_limit is defined %}
730+
{% if runsOutput[runIdx].output_limit is defined and runsOutput[runIdx].output_limit %}
731731
<div class="alert alert-warning">
732732
The submission output (<code>{{ runsOutput[runIdx].output_limit }}</code>) was
733733
truncated because of the configured output limit.

0 commit comments

Comments
 (0)