feat: add Role Editor page
This commit is contained in:
@@ -34,6 +34,7 @@ export default function Sidebar({ user, onLogout }: Props) {
|
||||
{ to: '/projects', icon: '📁', label: 'Projects' },
|
||||
{ to: '/notifications', icon: '🔔', label: 'Notifications' + (unreadCount > 0 ? ' (' + unreadCount + ')' : '') },
|
||||
{ to: '/monitor', icon: '📡', label: 'Monitor' },
|
||||
...(user.is_admin ? [{ to: '/roles', icon: '🔐', label: 'Roles' }] : []),
|
||||
] : [
|
||||
{ to: '/monitor', icon: '📡', label: 'Monitor' },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user