This commit is contained in:
alma 2025-05-04 23:06:27 +02:00
parent aaf81956ea
commit 6a9bb79054

View File

@ -159,12 +159,6 @@ export function Sidebar({ isOpen, onClose }: SidebarProps) {
href: "/agilite",
iframe: process.env.NEXT_PUBLIC_IFRAME_AGILITY_URL,
},
{
title: "Livres",
icon: Book,
href: "/livres",
iframe: process.env.NEXT_PUBLIC_IFRAME_LIVRE_URL,
},
];
// Role-specific menu items
@ -197,6 +191,12 @@ export function Sidebar({ isOpen, onClose }: SidebarProps) {
iframe: process.env.NEXT_PUBLIC_IFRAME_MEDIATIONS_URL,
requiredRole: "mediation",
},
{
title: "Livres",
icon: Book,
href: "/livres",
iframe: process.env.NEXT_PUBLIC_IFRAME_LIVRE_URL,
},
];
// Combine base items with role-specific items based on user roles