Skip to content

Commit

Permalink
add patient privacy toggle in consultation feed tab
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Nov 15, 2023
1 parent a389f5d commit 80a8917
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions src/Components/Facility/ConsultationDetails/ConsultationFeedTab.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
import { lazy } from "react";
import { Feed } from "../Consultations/Feed";
import { ConsultationTabProps } from "./index";

const PageTitle = lazy(() => import("../../Common/PageTitle"));
import PatientPrivacyToggle from "../../Patient/PatientPrivacyToggle";
const Page = lazy(() => import("../../Common/components/Page"));

export const ConsultationFeedTab = (props: ConsultationTabProps) => {
return (
<div>
<PageTitle
title="Camera Feed"
breadcrumbs={false}
hideBack={true}
focusOnLoad={true}
/>
<Page
title="Camera Feed"
breadcrumbs={false}
hideBack={true}
focusOnLoad={true}
className="px-0"
options={
<PatientPrivacyToggle
consultationId={props.consultationId}
consultation={props.consultationData}
// fetchPatientData={props.patientData}
/>
}
>
<Feed
facilityId={props.facilityId}
consultationId={props.consultationId}
/>
</div>
</Page>
);
};

0 comments on commit 80a8917

Please sign in to comment.