Skip to content

Commit

Permalink
Merge pull request #420 from ertush/hotfix
Browse files Browse the repository at this point in the history
Removed  contacts in facilities and Cu public pages
  • Loading branch information
ertush authored Jul 11, 2024
2 parents 5abc14d + d8b8f33 commit e372559
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
4 changes: 2 additions & 2 deletions components/FacilityDetailsTabsPublic.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ function FacilityDetailsTabsPulic({ facility }) {
</div>
</div>

<div className="w-full flex flex-col gap-3">
{/* <div className="w-full flex flex-col gap-3">
<h3 className="text-lg leading-tight underline text-gray-700 font-medium">
Contacts:
</h3>
Expand Down Expand Up @@ -425,7 +425,7 @@ function FacilityDetailsTabsPulic({ facility }) {
</div>
</div>
))}
</div>
</div> */}
</div>

</div>
Expand Down
23 changes: 3 additions & 20 deletions pages/public/chu/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function CommunityUnit(props) {
)}
</div>

<div className=" w-full p-3 flex flex-col gap-3 mt-4">
{/* <div className=" w-full p-3 flex flex-col gap-3 mt-4">
<h3 className="text-lg leading-tight underline text-gray-700 font-medium">
Contacts:
</h3>
Expand Down Expand Up @@ -328,25 +328,8 @@ function CommunityUnit(props) {
</p>
</div>
)}
{/* {cu.officer_in_charge && cu.officer_in_charge.contacts.length > 0 &&
cu.officer_in_charge.contacts.map((contact, i) => (
<div
key={i}
className="grid grid-cols-3 w-full md:w-11/12 mx-auto leading-none items-center"
>
<label className="col-span-1 text-gray-600 capitalize">
In charge{" "}
{contact.contact_type_name[0].toLocaleUpperCase() +
contact.contact_type_name
.slice(1)
.toLocaleLowerCase() || "Contact"}
</label>
<p className="col-start-3 text-black font-medium text-base">
{contact.contact || " - "}
</p>
</div>
))} */}
</div>
</div> */}
{/* <div> */}

{/* </div> */}
Expand Down

0 comments on commit e372559

Please sign in to comment.