This commit is contained in:
Yasiu1376
2023-07-23 14:08:38 +03:30
parent ed3a933980
commit ddf5fc7f7f

View File

@@ -2,6 +2,7 @@ import { NextLinkComposed } from "@/core/components/LinkRouting";
import ExpandLess from "@mui/icons-material/ExpandLess";
import ExpandMore from "@mui/icons-material/ExpandMore";
import {
Badge,
ListItem,
ListItemButton,
ListItemIcon,
@@ -59,6 +60,15 @@ const SidebarListItem = ({ item, dispatch, handleDrawerToggle }) => {
{item.type == "menu" &&
(item.showSubItem ? <ExpandLess /> : <ExpandMore />)}
<Badge
badgeContent="21"
color="error"
variant="standard"
anchorOrigin={{
vertical: "top",
horizontal: "right",
}}
/>
</ListItemButton>
</ListItem>
{item.subItem && (