Skip to content

Commit 716ec70

Browse files
committed
Add nullabitlity check
1 parent ec19ee4 commit 716ec70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/tasks/taskpage/Submissions.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<h3>Resultat:</h3>
102102
{submissions[active].resultType}
103103
</div>
104-
{#if submissions[active].details.error}
104+
{#if submissions[active].details && submissions[active].details.error}
105105
<Code lang="plaintext" code={submissions[active].details.error} />
106106
{/if}
107107
<div class="flex items-center gap-2">

0 commit comments

Comments
 (0)