OrganizationPage hinzugefügt, UsersPage fix
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
import PeopleIcon from '@mui/icons-material/People';
|
||||
import ArticleIcon from '@mui/icons-material/Article';
|
||||
import NotificationsActiveIcon from '@mui/icons-material/NotificationsActive';
|
||||
import CorporateFareIcon from '@mui/icons-material/CorporateFare';
|
||||
import LogoutIcon from '@mui/icons-material/Logout';
|
||||
import DashboardIcon from '@mui/icons-material/Dashboard';
|
||||
import { useAuth } from '../context/AuthContext';
|
||||
@@ -17,6 +18,7 @@ const navItems = [
|
||||
{ label: 'Users', path: '/users', icon: <PeopleIcon />, roles: ['ADMIN'] },
|
||||
{ label: 'Posts', path: '/posts', icon: <ArticleIcon />, roles: ['ADMIN', 'REPORTER'] },
|
||||
{ label: 'Push', path: '/push', icon: <NotificationsActiveIcon />, roles: ['ADMIN'] },
|
||||
{ label: 'Organization', path: '/organizations', icon: <CorporateFareIcon />, roles: ['ADMIN', 'REPORTER'] },
|
||||
];
|
||||
|
||||
export default function Layout() {
|
||||
|
||||
Reference in New Issue
Block a user