refactor(sidebar): reorder workspace navigation items
This commit is contained in:
@@ -36,21 +36,11 @@ export const Sidebar = ({ mobileOpen = false, onMobileClose }: SidebarProps) =>
|
|||||||
icon: Clock3,
|
icon: Clock3,
|
||||||
label: t.sidebar?.timesheet || 'Timesheet'
|
label: t.sidebar?.timesheet || 'Timesheet'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/reports',
|
|
||||||
icon: ChartColumn,
|
|
||||||
label: t.sidebar?.reports || 'Reports'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/tags',
|
path: '/tags',
|
||||||
icon: Tags,
|
icon: Tags,
|
||||||
label: t.sidebar?.tags || 'Tags'
|
label: t.sidebar?.tags || 'Tags'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/workspaces',
|
|
||||||
icon: LayoutDashboard,
|
|
||||||
label: t.sidebar?.workspaces || 'Workspaces'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/clients',
|
path: '/clients',
|
||||||
icon: Users,
|
icon: Users,
|
||||||
@@ -61,6 +51,16 @@ export const Sidebar = ({ mobileOpen = false, onMobileClose }: SidebarProps) =>
|
|||||||
icon: Briefcase,
|
icon: Briefcase,
|
||||||
label: t.sidebar?.projects || 'Projects'
|
label: t.sidebar?.projects || 'Projects'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/workspaces',
|
||||||
|
icon: LayoutDashboard,
|
||||||
|
label: t.sidebar?.workspaces || 'Workspaces'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/reports',
|
||||||
|
icon: ChartColumn,
|
||||||
|
label: t.sidebar?.reports || 'Reports'
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const renderNavItems = (mobile = false) =>
|
const renderNavItems = (mobile = false) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user