Merge branch 'tags_fix' into staging_environment

This commit is contained in:
Carter 2025-05-28 12:43:58 -06:00
commit aaf3cd2784

View file

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