Merge branch 'tags_fix' into dev_environment

This commit is contained in:
Carter 2025-05-28 12:43:52 -06:00
commit 63c6dd892b

View file

@ -7,6 +7,7 @@ import {
LinkProps, LinkProps,
Skeleton, Skeleton,
Theme, Theme,
Tooltip,
Typography, Typography,
useTheme useTheme
} from "@mui/material"; } from "@mui/material";
@ -334,22 +335,23 @@ export default function SmartBreadcrumb(props: Props) {
const linkComponent = (to: string, label: string, lastPath: boolean) => { const linkComponent = (to: string, label: string, lastPath: boolean) => {
return ( return (
<Chip <Tooltip title={label} key={"breadcrumb-"+to}>
key={to} <Chip
variant={lastPath ? "filled" : "outlined"} variant={lastPath ? "filled" : "outlined"}
label={ label={
<LinkRouter <LinkRouter
color={lastPath ? "textPrimary" : "textSecondary"} color={lastPath ? "textPrimary" : "textSecondary"}
variant="subtitle1" variant="subtitle1"
to={to} to={to}
state={state} state={state}
sx={{ '&:hover': { color: getThemeType() === "dark" ? 'white' : "black" }}} sx={{ '&:hover': { color: getThemeType() === "dark" ? 'white' : "black" }}}
className={classes.textOverflow}> className={classes.textOverflow}>
{label} {label}
</LinkRouter> </LinkRouter>
} }
className={classes.chip} className={classes.chip}
/> />
</Tooltip>
); );
}; };