diff --git a/src/pages/Facility/locations/LocationList.tsx b/src/pages/Facility/locations/LocationList.tsx index f745748ac4f..4e5391b3e6a 100644 --- a/src/pages/Facility/locations/LocationList.tsx +++ b/src/pages/Facility/locations/LocationList.tsx @@ -551,7 +551,7 @@ function LocationSummary({ locations }: { locations: LocationListType[] }) { )} {summary.totalBeds > 0 && ( - <> +
{t("available_beds")} {summary.availableBeds} @@ -560,7 +560,7 @@ function LocationSummary({ locations }: { locations: LocationListType[] }) { {t("occupied_beds")} {summary.occupiedBeds} - +
)} ); @@ -610,13 +610,13 @@ export default function LocationList({ facilityId }: { facilityId: string }) { }, [allLocations?.results]); return ( -
+
{/* Left sidebar - Location tree */} -
+

{t("locations")}

- +
{isLoadingLocations ? (
@@ -640,7 +640,7 @@ export default function LocationList({ facilityId }: { facilityId: string }) {
{/* Main content area */} -
+
{selectedLocation && ( )} -
+

{selectedLocation ? selectedLocation.name : t("locations")}