Skip to content

Commit 9375d44

Browse files
authored
Fix AWS error when viewing un-evaluated user test (#1478)
1 parent b1b2e95 commit 9375d44

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cms/server/admin/templates/user_test.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,12 @@ <h2 id="title_details" class="toggling_on">User test details</h2>
9292
<td>Failures during evaluation</td>
9393
<td>{{ utr.evaluation_tries }}</td>
9494
</tr>
95-
<tr>
96-
<td>Evaluation sandbox</td>
97-
<td>{{ utr.evaluation_sandbox_paths|join(" ") }}</td>
98-
</tr>
95+
{% if utr.evaluated() %}
96+
<tr>
97+
<td>Evaluation sandbox</td>
98+
<td>{{ utr.evaluation_sandbox_paths|join(" ") }}</td>
99+
</tr>
100+
{% endif %}
99101
{% endif %}
100102
</tbody>
101103
</table>

0 commit comments

Comments
 (0)