@@ -15,7 +15,7 @@ import {
1515} from '@ant-design/icons' ;
1616import type { ReactNode } from 'react' ;
1717
18- export interface NavItem { key : string ; icon : ReactNode ; label : string ; adminOnly ?: boolean ; }
18+ export interface NavItem { key : string ; icon : ReactNode ; label : string ; adminOnly ?: boolean ; hideOnMobile ?: boolean ; }
1919export interface NavGroup { key : string ; title ?: string ; children : NavItem [ ] ; }
2020
2121export const navGroups : NavGroup [ ] = [
@@ -30,7 +30,7 @@ export const navGroups: NavGroup[] = [
3030 key : 'manage' ,
3131 title : 'Manage' ,
3232 children : [
33- { key : 'processors' , icon : React . createElement ( CodeOutlined ) , label : 'Processors' } ,
33+ { key : 'processors' , icon : React . createElement ( CodeOutlined ) , label : 'Processors' , hideOnMobile : true } ,
3434 { key : 'tasks' , icon : React . createElement ( RobotOutlined ) , label : 'Automation' } ,
3535 { key : 'task-queue' , icon : React . createElement ( ClockCircleOutlined ) , label : 'Task Queue' } ,
3636 { key : 'share' , icon : React . createElement ( ShareAltOutlined ) , label : 'My Shares' } ,
@@ -45,7 +45,7 @@ export const navGroups: NavGroup[] = [
4545 children : [
4646 { key : 'users' , icon : React . createElement ( UserOutlined ) , label : 'User Management' , adminOnly : true } ,
4747 { key : 'settings' , icon : React . createElement ( SettingOutlined ) , label : 'System Settings' , adminOnly : true } ,
48- { key : 'backup' , icon : React . createElement ( DatabaseOutlined ) , label : 'Backup & Restore' } ,
48+ { key : 'backup' , icon : React . createElement ( DatabaseOutlined ) , label : 'Backup & Restore' , hideOnMobile : true } ,
4949 { key : 'audit' , icon : React . createElement ( BugOutlined ) , label : 'Audit Logs' }
5050 ]
5151 }
0 commit comments