CDCgov / phdi

https://cdcgov.github.io/dibbs-site/
Creative Commons Zero v1.0 Universal
35 stars 14 forks source link

Add optional chaining for facility contact address #2672

Closed angelathe closed 1 month ago

angelathe commented 2 months ago

PULL REQUEST

Summary

Add optional chaining to Encounter Info Facility Contact Address info, so that the eCR Viewer doesn't crash when we load an eCR.

Example: http://localhost:3000/view-data?id=016accab-d6bf-11ec-81e1-8465ad080d41#eicr-custodian-details

Related Issue

N/A - Fixes bug that happened during live demo :(

Checklist