Skip to content

Commit

Permalink
When we have no testcase runs yet, this value is not set at all.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicky Gerritsen committed Feb 28, 2024
1 parent 18a26c7 commit b499362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/templates/jury/submission.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@
-#})
{% endif %}
{% endif %}
{% if runsOutput[runIdx].testcasedir is not null %}
{% if runsOutput[runIdx].testcasedir is defined and runsOutput[runIdx].testcasedir is not null %}
| <code>.../{{ runsOutput[runIdx].testcasedir | split('/') | last }}</code>{#-
-#}<button type="button" class="btn btn-link" onclick="navigator.clipboard.writeText('{{ runsOutput[runIdx].testcasedir }}')"><i class="fa-regular fa-copy"></i></button>
{% endif %}
Expand Down

0 comments on commit b499362

Please sign in to comment.