Skip to content

Commit

Permalink
Merge pull request #8195 from coronasafe/develop
Browse files Browse the repository at this point in the history
Merge Develop to Staging v24.30.0 | Minor Fix to hide consent banner
  • Loading branch information
gigincg authored Jul 22, 2024
2 parents bbc7916 + 23d1ce8 commit b4c934c
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 b4c934c

Please sign in to comment.