refactor: Update navigation configuration and improve order dialog hub handling
This commit is contained in:
@@ -62,12 +62,6 @@ export const NAV_CONFIG: NavGroup[] = [
|
||||
icon: LayoutDashboard,
|
||||
allowedRoles: ['Vendor'],
|
||||
},
|
||||
{
|
||||
label: 'Savings Engine',
|
||||
path: '/savings',
|
||||
icon: PiggyBank,
|
||||
allowedRoles: ALL_ROLES,
|
||||
},
|
||||
{
|
||||
label: 'Vendor Performance',
|
||||
path: '/performance',
|
||||
@@ -117,23 +111,6 @@ export const NAV_CONFIG: NavGroup[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Marketplace',
|
||||
items: [
|
||||
{
|
||||
label: 'Discovery',
|
||||
path: '/marketplace',
|
||||
icon: ShoppingBag,
|
||||
allowedRoles: ['Client', 'Admin'],
|
||||
},
|
||||
{
|
||||
label: 'Compare Rates',
|
||||
path: '/marketplace/compare',
|
||||
icon: Scale,
|
||||
allowedRoles: ['Client', 'Admin'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Workforce',
|
||||
items: [
|
||||
@@ -143,18 +120,6 @@ export const NAV_CONFIG: NavGroup[] = [
|
||||
icon: Users,
|
||||
allowedRoles: ALL_ROLES,
|
||||
},
|
||||
{
|
||||
label: 'Onboarding',
|
||||
path: '/onboarding',
|
||||
icon: UserPlus,
|
||||
allowedRoles: ALL_ROLES,
|
||||
},
|
||||
{
|
||||
label: 'Teams',
|
||||
path: '/teams',
|
||||
icon: Users2,
|
||||
allowedRoles: ALL_ROLES,
|
||||
},
|
||||
{
|
||||
label: 'Compliance',
|
||||
path: '/compliance',
|
||||
@@ -197,44 +162,4 @@ export const NAV_CONFIG: NavGroup[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Analytics & Comm',
|
||||
items: [
|
||||
{
|
||||
label: 'Reports',
|
||||
path: '/reports',
|
||||
icon: PieChart,
|
||||
allowedRoles: ALL_ROLES,
|
||||
},
|
||||
{
|
||||
label: 'Activity Log',
|
||||
path: '/activity',
|
||||
icon: History,
|
||||
allowedRoles: ['Vendor', 'Admin'],
|
||||
},
|
||||
{
|
||||
label: 'Messages',
|
||||
path: '/messages',
|
||||
icon: MessageSquare,
|
||||
allowedRoles: ALL_ROLES,
|
||||
},
|
||||
{
|
||||
label: 'Tutorials',
|
||||
path: '/tutorials',
|
||||
icon: BookOpen,
|
||||
allowedRoles: ['Client', 'Admin'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Support',
|
||||
items: [
|
||||
{
|
||||
label: 'Help Center',
|
||||
path: '/support',
|
||||
icon: HelpCircle,
|
||||
allowedRoles: ['Client', 'Admin'],
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user