mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-09-21 22:36:33 +08:00
Add concept of Flag values under window object to ensure values are
parsed before use
This commit is contained in:
@@ -6,7 +6,7 @@ import Chip from "@material-ui/core/Chip";
|
||||
import Menu from "@material-ui/core/Menu";
|
||||
import MenuItem from "@material-ui/core/MenuItem";
|
||||
import ExpandMoreIcon from "@material-ui/icons/ExpandMore";
|
||||
import { paths, queueDetailsPath } from "../paths";
|
||||
import { paths as getPaths, queueDetailsPath } from "../paths";
|
||||
import { isDarkTheme } from "../theme";
|
||||
|
||||
const StyledBreadcrumb = withStyles((theme: Theme) => ({
|
||||
@@ -39,6 +39,7 @@ interface Props {
|
||||
export default function QueueBreadcrumbs(props: Props) {
|
||||
const history = useHistory();
|
||||
const [anchorEl, setAnchorEl] = useState<null | Element>(null);
|
||||
const paths = getPaths();
|
||||
|
||||
const handleClick = (event: React.MouseEvent<Element, MouseEvent>) => {
|
||||
event.preventDefault();
|
||||
|
Reference in New Issue
Block a user