From 6a9bb790540ddd35b420cdff6b9a73a62b283b67 Mon Sep 17 00:00:00 2001 From: alma Date: Sun, 4 May 2025 23:06:27 +0200 Subject: [PATCH] livres --- components/sidebar.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/sidebar.tsx b/components/sidebar.tsx index f9b5d159..6ad7a602 100644 --- a/components/sidebar.tsx +++ b/components/sidebar.tsx @@ -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