Skip to content

Commit

Permalink
Merge pull request #855 from PR4NJ41/dev-9
Browse files Browse the repository at this point in the history
Embedded Breadcrumbs to Lab Number Management and Program Entry Pages
  • Loading branch information
mozzy11 authored Mar 21, 2024
2 parents 6d50a93 + 0891e60 commit 4004159
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ import {
} from "../../common/CustomNotification";
import { FormattedMessage, useIntl } from "react-intl";
import { ConfigurationContext } from "../../layout/Layout";
import PageBreadCrumb from "../../common/PageBreadCrumb.js";

let breadcrumbs = [{ label: "home.label", link: "/" }];
function LabNumberManagement() {
const intl = useIntl();

Expand Down Expand Up @@ -156,6 +158,7 @@ function LabNumberManagement() {
{notificationVisible === true ? <AlertDialog /> : ""}
{loading && <Loading />}
<div className="adminPageContent">
<PageBreadCrumb breadcrumbs={breadcrumbs} />
<Grid>
<Column lg={16}>
<Section>
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/components/admin/program/ProgramManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ import {
NotificationKinds,
} from "../../common/CustomNotification";
import { FormattedMessage, useIntl } from "react-intl";
import PageBreadCrumb from "../../common/PageBreadCrumb.js";

let breadcrumbs = [{ label: "home.label", link: "/" }];
function ProgramManagement() {
const { notificationVisible, setNotificationVisible, addNotification } =
useContext(NotificationContext);
Expand Down Expand Up @@ -169,6 +171,7 @@ function ProgramManagement() {
<>
{notificationVisible === true ? <AlertDialog /> : ""}
<div className="adminPageContent">
<PageBreadCrumb breadcrumbs={breadcrumbs} />
<Grid>
<Column lg={16}>
<Section>
Expand Down

0 comments on commit 4004159

Please sign in to comment.