diff --git a/frontend/src/routes/(app)/(internal)/compliance-assessments/[id=uuid]/flash-mode/+page.svelte b/frontend/src/routes/(app)/(internal)/compliance-assessments/[id=uuid]/flash-mode/+page.svelte index 76913b580..8b0dae806 100644 --- a/frontend/src/routes/(app)/(internal)/compliance-assessments/[id=uuid]/flash-mode/+page.svelte +++ b/frontend/src/routes/(app)/(internal)/compliance-assessments/[id=uuid]/flash-mode/+page.svelte @@ -26,7 +26,7 @@ const requirementHashmap = Object.fromEntries( data.requirements.map((requirement) => [requirement.id, requirement]) ); - $: requirement = requirementHashmap[currentRequirementAssessment.requirement]; + $: requirement = requirementHashmap[currentRequirementAssessment.requirement.id]; $: parent = data.requirements.find((req) => req.urn === requirement.parent_urn); $: title = requirement.display_short