diff --git a/src/applications/static-pages/facilities/FacilityPatientSatisfactionScoresWidget.jsx b/src/applications/static-pages/facilities/FacilityPatientSatisfactionScoresWidget.jsx index 496e472cc67b..0612d58ad8b8 100644 --- a/src/applications/static-pages/facilities/FacilityPatientSatisfactionScoresWidget.jsx +++ b/src/applications/static-pages/facilities/FacilityPatientSatisfactionScoresWidget.jsx @@ -19,6 +19,7 @@ export function FacilityPatientSatisfactionScoresWidget(props) { const facility = props.facility.attributes; if ( + facility?.feedback?.health === undefined || Object.values(facility.feedback.health).length === 0 || Object.values(facility.feedback.health).some(x => x <= 0) )