fix(sidebar): purchasing Vendors links to /inventory, admin to /admin
No mirroring: the two vendor links serve different purposes. Purchasing -> /inventory/vendors (site selector, distance sort) Administration -> /admin/vendors (CRUD registry) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cc9c7b7e1f
commit
0d6df57a88
1 changed files with 3 additions and 3 deletions
|
|
@ -56,9 +56,9 @@ const PURCHASING_STAFF: NavItem[] = [
|
||||||
|
|
||||||
// Manager / Admin catalogue management — Sites conditionally shown
|
// Manager / Admin catalogue management — Sites conditionally shown
|
||||||
const PURCHASING_MGMT: NavItem[] = [
|
const PURCHASING_MGMT: NavItem[] = [
|
||||||
{ href: "/admin/vendors", label: "Vendors", icon: Store, roles: ["MANAGER", "ADMIN"] },
|
{ href: "/inventory/vendors", label: "Vendors", icon: Store, roles: ["MANAGER", "ADMIN"] },
|
||||||
{ href: "/admin/products", label: "Items", icon: Package, roles: ["MANAGER", "ADMIN"] },
|
{ href: "/admin/products", label: "Items", icon: Package, roles: ["MANAGER", "ADMIN"] },
|
||||||
{ href: "/admin/vessels", label: "Cost Centres", icon: Ship, roles: ["MANAGER", "ADMIN"] },
|
{ href: "/admin/vessels", label: "Cost Centres", icon: Ship, roles: ["MANAGER", "ADMIN"] },
|
||||||
...(INVENTORY_ENABLED
|
...(INVENTORY_ENABLED
|
||||||
? [{ href: "/admin/sites", label: "Sites", icon: MapPin, roles: ["MANAGER", "ADMIN"] as Role[] }]
|
? [{ href: "/admin/sites", label: "Sites", icon: MapPin, roles: ["MANAGER", "ADMIN"] as Role[] }]
|
||||||
: []),
|
: []),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue