Skip to content

Commit c4b0927

Browse files
When we have no testcase runs yet, this value is not set at all.
1 parent fcf6042 commit c4b0927

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
@@ -677,7 +677,7 @@
677677
-#})
678678
{% endif %}
679679
{% endif %}
680-
{% if runsOutput[runIdx].testcasedir is not null %}
680+
{% if runsOutput[runIdx].testcasedir is defined and runsOutput[runIdx].testcasedir is not null %}
681681
| <code>.../{{ runsOutput[runIdx].testcasedir | split('/') | last }}</code>{#-
682682
-#}<button type="button" class="btn btn-link" onclick="navigator.clipboard.writeText('{{ runsOutput[runIdx].testcasedir }}')"><i class="fa-regular fa-copy"></i></button>
683683
{% endif %}

0 commit comments

Comments
 (0)