From 658e6b13084c4051a33668f2a42fb93069c0e1c8 Mon Sep 17 00:00:00 2001 From: Nico Hagelberg Date: Thu, 27 Jun 2024 18:01:54 +0300 Subject: [PATCH] Fix medical details display --- src/components/MedicalRecords.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MedicalRecords.vue b/src/components/MedicalRecords.vue index f80bea2..c7a04e1 100644 --- a/src/components/MedicalRecords.vue +++ b/src/components/MedicalRecords.vue @@ -73,7 +73,7 @@ CURRENT MEDICATION: ${ person.medical_current_medication || 'None / Unknown' } ACTIVE CONDITIONS: -${ person.medical_active_conditions.replaceAll('\n\n','\n') || 'None / Unknown' } +${ person.medical_active_conditions?.replaceAll('\n\n','\n') || 'None / Unknown' } MEDICAL RECORDS: ${ parseEntries(this.record.entries, 'MEDICAL').join('\n').replaceAll('\n\n','\n') }