larxius commited on
Commit
2a7a083
·
verified ·
1 Parent(s): 0108b3c

Update frontend/src/components/Layout.jsx

Browse files
Files changed (1) hide show
  1. frontend/src/components/Layout.jsx +2 -0
frontend/src/components/Layout.jsx CHANGED
@@ -197,6 +197,8 @@ export const Layout = ({ children }) => {
197
 
198
  if (user?.role === 'super_admin') {
199
  navItems.push({ to: '/super-admin', label: 'Global Management', icon: 'admin_panel_settings' });
 
 
200
  } else if (user?.role === 'support_engineer') {
201
  navItems.push({ to: '/support', label: 'Global Management', icon: 'support_agent' });
202
  }
 
197
 
198
  if (user?.role === 'super_admin') {
199
  navItems.push({ to: '/super-admin', label: 'Global Management', icon: 'admin_panel_settings' });
200
+ } else if (user?.role === 'admin') {
201
+ navItems.push({ to: '/admin', label: 'Global Management', icon: 'admin_panel_settings' });
202
  } else if (user?.role === 'support_engineer') {
203
  navItems.push({ to: '/support', label: 'Global Management', icon: 'support_agent' });
204
  }