From 20e8b77dc68061b8ea133ebf83e779982f2d6515 Mon Sep 17 00:00:00 2001 From: Gunnar K Vilbergsson Date: Thu, 28 Nov 2024 13:50:04 +0000 Subject: [PATCH] fix(application-system): Fix accidentreport work accident subtype --- .../accident-notification/accident-notification-v2.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/application/template-api-modules/src/lib/modules/templates/accident-notification/accident-notification-v2.utils.ts b/libs/application/template-api-modules/src/lib/modules/templates/accident-notification/accident-notification-v2.utils.ts index 9a06be962945..2d7972398bc0 100644 --- a/libs/application/template-api-modules/src/lib/modules/templates/accident-notification/accident-notification-v2.utils.ts +++ b/libs/application/template-api-modules/src/lib/modules/templates/accident-notification/accident-notification-v2.utils.ts @@ -110,7 +110,7 @@ const studiesAccidentSubtypeMap = { const getAccidentTypes = (answers: AccidentNotificationAnswers) => { const accidentType = getValueViaPath( answers, - 'accidentType.answer', + 'accidentType.radioButton', ) const workAccidentType = getValueViaPath( answers,