CE-798 turn off fixed navbar; move pageHeader from Breadcrumbs to NavBar

CE-798 turn off fixed navbar; move pageHeader from Breadcrumbs to NavBar
This commit is contained in:
2024-02-06 19:41:12 -06:00
parent f7c3bef3e8
commit 6d44bab49b
5 changed files with 23 additions and 28 deletions

View File

@ -70,7 +70,7 @@ function QBreadcrumbs({icon, title, route, light}: Props): JSX.Element
}
const routes: string[] | any = route.slice(0, -1);
const {pageHeader, pathToLabelMap, branding} = useContext(QContext);
const {pathToLabelMap, branding} = useContext(QContext);
const fullPathToLabel = (fullPath: string, route: string): string =>
{
@ -149,15 +149,6 @@ function QBreadcrumbs({icon, title, route, light}: Props): JSX.Element
</Link>
))}
</MuiBreadcrumbs>
<MDTypography
pt={1}
textTransform="capitalize"
variant="h3"
color={light ? "white" : "dark"}
noWrap
>
{pageHeader}
</MDTypography>
</Box>
);
}