Skip to content

Commit f2af1fb

Browse files
prandlaveluca93
authored andcommitted
bugfix: sandbox_paths is nullable, check for it in AWS
1 parent 4cdaa00 commit f2af1fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cms/server/admin/templates/submission.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ <h2 id="title_details" class="toggling_on">Submission details</h2>
163163
{{- sr.compilation_sandbox_paths[loop.index0] -}}
164164
</a>
165165
{% endfor %}
166-
{% else %}
166+
{% elif sr.compilation_sandbox_paths is not none %}
167167
{{ sr.compilation_sandbox_paths|join(" ") }}
168168
{% endif %}
169169

@@ -297,7 +297,7 @@ <h2 id="title_evaluation_admin" class="toggling_on">Evaluation (as seen by the a
297297
{{- ev.evaluation_sandbox_paths[loop.index0] -}}
298298
</a>
299299
{% endfor %}
300-
{% else %}
300+
{% elif ev.evaluation_sandbox_paths is not none %}
301301
{{ ev.evaluation_sandbox_paths|join(" ") }}
302302
{% endif %}
303303

0 commit comments

Comments
 (0)