Skip to content

Commit

Permalink
hide spoke heading on facility create page (#8730)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobjeevan authored Oct 9, 2024
1 parent f419493 commit 207365a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Components/Facility/FacilityCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -850,14 +850,14 @@ export const FacilityCreate = (props: FacilityProps) => {
required
types={["mobile", "landline"]}
/>
<div className="py-4 md:col-span-2">
<h4 className="mb-4">{t("spokes")}</h4>
{facilityId && (
{facilityId && (
<div className="py-4 md:col-span-2">
<h4 className="mb-4">{t("spokes")}</h4>
<SpokeFacilityEditor
facility={{ ...facilityQuery.data, id: facilityId }}
/>
)}
</div>
</div>
)}
<div className="grid grid-cols-1 gap-4 py-4 sm:grid-cols-2 md:col-span-2 xl:grid-cols-4">
<TextFormField
{...field("oxygen_capacity")}
Expand Down

0 comments on commit 207365a

Please sign in to comment.