Skip to content

Commit

Permalink
Fix quiz results
Browse files Browse the repository at this point in the history
  • Loading branch information
MangoSwirl committed Jan 6, 2024
1 parent ee0a03a commit a30e4c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/tools/lab-certification/quiz-results/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { Button, DensityProvider } from "magnolia-ui-svelte";
import type { PageData } from "./$types";
import { QuizType } from "@prisma/client";
import type { QuizType } from "@prisma/client";
import formatTimestamp from "$lib/util/formatTimestamp";
export let data: PageData;
Expand Down Expand Up @@ -41,11 +41,11 @@
</td>
<td>{[
{
id: QuizType.SAFETY_QUIZ,
id: "SAFETY_QUIZ",
name: "Safety Quiz",
},
{
id: QuizType.LAB_LAYOUT_EMERGENCY_PREPAREDNESS,
id: "LAB_LAYOUT_EMERGENCY_PREPAREDNESS",
name: "Lab Layout/Emergency Preparedness",
},
].find(i => i.id === submission.quizType)?.name}</td>
Expand Down

0 comments on commit a30e4c7

Please sign in to comment.