Skip to content

Commit

Permalink
Hides Consent Records Banner (#8193)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker authored Jul 22, 2024
1 parent dd4ad7b commit 23d1ce8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Components/Patient/ManagePatients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ export const PatientManager = () => {
prefetch: !!qParams.last_consultation_current_bed__location,
},
);

/*
const { data: patientsWithNoConsentsData } = useQuery(routes.patientList, {
query: {
...qParams,
Expand All @@ -409,7 +409,7 @@ export const PatientManager = () => {
});
const patientsWithNoConsents = patientsWithNoConsentsData?.count;

*/
const { data: permittedFacilities } = useQuery(
routes.getPermittedFacilities,
{
Expand Down Expand Up @@ -1013,7 +1013,7 @@ export const PatientManager = () => {
</div>
</div>
</div>
{!qParams.last_consultation__consent_types &&
{/*!qParams.last_consultation__consent_types &&
(patientsWithNoConsents || 0) > 0 && (
<div className="flex w-full items-center gap-4 rounded-lg bg-red-500/10 p-4 text-sm text-red-500">
<CareIcon icon="l-info-circle" className="text-xl" />
Expand All @@ -1030,7 +1030,7 @@ export const PatientManager = () => {
</button>
</p>
</div>
)}
)*/}
<div className="col-span-3 flex flex-wrap">
<FilterBadges
badges={({
Expand Down

0 comments on commit 23d1ce8

Please sign in to comment.