Merge branch 'tags_fix' into dev_environment
This commit is contained in:
commit
63c6dd892b
1 changed files with 18 additions and 16 deletions
|
|
@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue