Skip to content

Commit

Permalink
resource breadcrumbs uri changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishith25 committed Jan 29, 2025
1 parent c131b2e commit f32c12e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Resource/ResourceCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ export default function ResourceCreate(props: ResourceProps) {
title={t("create_resource_request")}
crumbsReplacements={{
[facilityId]: { name: facilityData?.name || "" },
resource: { style: "pointer-events-none" },
resource: {
uri: `/resource`,
style: "pointer-events-none",
},
}}
backUrl={`/facility/${facilityId}`}
>
Expand All @@ -179,6 +182,7 @@ export default function ResourceCreate(props: ResourceProps) {
<div className="flex items-center gap-2">
<Link
href={`/facility/${facilityId}/patient/${related_patient}/demography`}
className="flex items-center gap-2"
>
<CareIcon
icon="l-user"
Expand Down

0 comments on commit f32c12e

Please sign in to comment.