fix: add "Email" link to the sidebar and mobile navigation bar in administration panel
This commit is contained in:
parent
541c05e809
commit
beeda59127
3 changed files with 8 additions and 3 deletions
|
@ -25,7 +25,7 @@ const MobileNav = () => {
|
|||
<>
|
||||
<Logo width={155} height={53} />
|
||||
<ul className="header-nav_elements">
|
||||
{AdminLinks.slice(0, 6).map((link) => {
|
||||
{AdminLinks.slice(0, 7).map((link) => {
|
||||
const isActive = link.url === pathname;
|
||||
|
||||
return (
|
||||
|
|
|
@ -17,7 +17,7 @@ const Sidebar = () => {
|
|||
|
||||
<nav className="sidebar-nav">
|
||||
<ul className="sidebar-nav_elements">
|
||||
{AdminLinks.slice(0, 6).map((link) => {
|
||||
{AdminLinks.slice(0, 7).map((link) => {
|
||||
const isActive = link.url === pathname;
|
||||
|
||||
return (
|
||||
|
@ -37,7 +37,7 @@ const Sidebar = () => {
|
|||
</ul>
|
||||
|
||||
<ul className="sidebar-nav_elements">
|
||||
{AdminLinks.slice(6).map((link) => {
|
||||
{AdminLinks.slice(7).map((link) => {
|
||||
const isActive = link.url === pathname;
|
||||
|
||||
return (
|
||||
|
|
|
@ -205,6 +205,11 @@ export const AdminLinks = [
|
|||
url: "/admin/vulnerabilities",
|
||||
icon: BugIcon
|
||||
},
|
||||
{
|
||||
name: "Emails",
|
||||
url: "/admin/email",
|
||||
icon: Mail
|
||||
},
|
||||
{
|
||||
name: "Back Home",
|
||||
url: "/",
|
||||
|
|
Loading…
Reference in a new issue