mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 08:52:26 +00:00
Merge pull request #13951 from BasharOsman/master
add badgeContent to pluginsSectionsLinks
This commit is contained in:
commit
4ea0a3ddd3
@ -125,7 +125,13 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => {
|
|||||||
const Icon = link.icon;
|
const Icon = link.icon;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NavLink as={RouterNavLink} to={link.to} key={link.to} icon={<Icon />}>
|
<NavLink
|
||||||
|
as={RouterNavLink}
|
||||||
|
to={link.to}
|
||||||
|
key={link.to}
|
||||||
|
icon={<Icon />}
|
||||||
|
badgeContent={link.badge}
|
||||||
|
>
|
||||||
{formatMessage(link.intlLabel)}
|
{formatMessage(link.intlLabel)}
|
||||||
</NavLink>
|
</NavLink>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user