Skip to content

Commit a3aee46

Browse files
authored
Update vl-history.component.tsx (#249)
1 parent 574e52a commit a3aee46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/esm-care-panel-app/src/vl-history/vl-history.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const ViralLoadList: React.FC<ViralLoadProps> = ({ patientUuid }) => {
6565
const group = groupedObservations[dateTime];
6666
rows.push({
6767
id: index.toString(),
68-
hivViralLoadDate: group.dateArray?.[0].split('T')[0] || '',
68+
hivViralLoadDate: group.dateArray?.[0]?.split('T')[0] || '',
6969
hivViralLoadQualitative: group.displayArray?.[0] || '',
7070
hivViralLoad: group?.valuesArray?.[0] || '',
7171
});

0 commit comments

Comments
 (0)