diff --git a/src/Components/Patient/ManagePatients.tsx b/src/Components/Patient/ManagePatients.tsx index fe00c0f1c75..a1af97fce67 100644 --- a/src/Components/Patient/ManagePatients.tsx +++ b/src/Components/Patient/ManagePatients.tsx @@ -36,7 +36,6 @@ import SearchInput from "../Form/SearchInput"; import SortDropdownMenu from "../Common/SortDropdown"; import SwitchTabs from "../Common/components/SwitchTabs"; import SwipeableViews from "react-swipeable-views"; -import { Tooltip } from "@material-ui/core"; import loadable from "@loadable/component"; import moment from "moment"; import { parseOptionId } from "../../Common/utils"; @@ -44,9 +43,9 @@ import { parsePhoneNumberFromString } from "libphonenumber-js"; import { useDispatch } from "react-redux"; import useFilters from "../../Common/hooks/useFilters"; import { useTranslation } from "react-i18next"; +import Page from "../Common/components/Page.js"; const Loading = loadable(() => import("../Common/Loading")); -const PageTitle = loadable(() => import("../Common/PageTitle")); interface TabPanelProps { children?: React.ReactNode; @@ -510,28 +509,27 @@ export const PatientManager = () => { patient?.last_consultation?.current_bed && patient?.last_consultation?.discharge_date === null ? (
- + { patient?.last_consultation?.current_bed?.bed_object ?.location_object?.name } - > -

+ { patient?.last_consultation?.current_bed?.bed_object ?.location_object?.name } -

-
- -

- {patient?.last_consultation?.current_bed?.bed_object.name} -

-
+ + + + {patient?.last_consultation?.current_bed?.bed_object.name} + + { + patient?.last_consultation?.current_bed?.bed_object + ?.name + } + +
) : (
@@ -717,7 +715,7 @@ export const PatientManager = () => { }; return ( -
+ setSelectedFacility(e)} @@ -730,12 +728,6 @@ export const PatientManager = () => { />
- { qParams.facility @@ -831,27 +823,6 @@ export const PatientManager = () => { containerClass="pb-10" />
- {/*
-
-
-
- -
-
- Discharged Patients -
- {isLoading ? ( -
- -
- ) : ( -
- {totalCount} -
- )} -
-
-
*/}
@@ -971,6 +942,6 @@ export const PatientManager = () => { setShow={setShowDoctors} />
-
+
); };