Feature/add current location map
This commit is contained in:
@@ -35,7 +35,11 @@ const SidebarListItems = ({ menuItem, dispatch }) => {
|
||||
{menuItem.badges && (
|
||||
<Stack direction={"row"} sx={{ px: 0.5 }} spacing={0.5}>
|
||||
{menuItem.badges.map((badge, i) => (
|
||||
<SidebarBadge chipProps={{ color: badge.color || "primary" }} key={badge.key} badge={badge.key} />
|
||||
<SidebarBadge
|
||||
chipProps={{ color: badge.color || "primary" }}
|
||||
key={badge.key}
|
||||
badge={badge.key}
|
||||
/>
|
||||
))}
|
||||
</Stack>
|
||||
)}
|
||||
|
||||
@@ -33,7 +33,11 @@ const SidebarSubitems = ({ subitem, dispatch }) => {
|
||||
{subitem.badges && (
|
||||
<Stack direction={"row"} sx={{ px: 0.5 }} spacing={0.5}>
|
||||
{subitem.badges.map((badge, i) => (
|
||||
<SidebarBadge chipProps={{ color: badge.color || "default" }} key={badge.key} badge={badge.key} />
|
||||
<SidebarBadge
|
||||
chipProps={{ color: badge.color || "default" }}
|
||||
key={badge.key}
|
||||
badge={badge.key}
|
||||
/>
|
||||
))}
|
||||
</Stack>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user