From 476f36e677f769bda2b991130d604b732781d167 Mon Sep 17 00:00:00 2001 From: AdityaJ2305 Date: Wed, 11 Dec 2024 19:40:30 +0530 Subject: [PATCH] added location for linked facility --- src/components/Users/LinkedFacilities.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/Users/LinkedFacilities.tsx b/src/components/Users/LinkedFacilities.tsx index 18d520abca3..de1833ac478 100644 --- a/src/components/Users/LinkedFacilities.tsx +++ b/src/components/Users/LinkedFacilities.tsx @@ -199,7 +199,11 @@ export default function LinkedFacilities({
-
{facility.name}
+
+ {facility.name} + {facility.district_object?.name && + `, ${facility.district_object.name}`} +
@@ -242,8 +246,10 @@ export default function LinkedFacilities({ key={`facility_${homeFacility.id}`} >
-
+
{homeFacility.name} + {homeFacility.district_object && + `, ${homeFacility.district_object.name}`}
{(authorizeForHomeFacility || isCurrentUser) && (