Skip to content

Commit b3811b5

Browse files
meisterTeldering
authored andcommitted
Fix output limit warning.
This broke after trying to fix another bug in 43b9c88.
1 parent c302d1a commit b3811b5

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
@@ -716,7 +716,7 @@
716716
show complete metadata
717717
</button>
718718
{% if runsOutput[runIdx].metadata is not null %}
719-
{% if runsOutput[runIdx].output_limit is defined %}
719+
{% if runsOutput[runIdx].output_limit is defined and runsOutput[runIdx].output_limit %}
720720
<div class="alert alert-warning">
721721
The submission output (<code>{{ runsOutput[runIdx].output_limit }}</code>) was
722722
truncated because of the configured output limit.

0 commit comments

Comments
 (0)