bug fix
This commit is contained in:
@@ -52,6 +52,12 @@ const MENU_ITEMS = [
|
||||
path: "/user",
|
||||
roles: ["moderator", "admin", "superuser", "operator"],
|
||||
},
|
||||
{
|
||||
label: "Profile",
|
||||
icon: Users,
|
||||
path: "/profile",
|
||||
roles: ["tour_admin"],
|
||||
},
|
||||
{
|
||||
label: "Tur firmalar",
|
||||
icon: Building2,
|
||||
@@ -251,9 +257,10 @@ export function Sidebar({ role }: SidebarProps) {
|
||||
</li>
|
||||
);
|
||||
})}
|
||||
<LangToggle />
|
||||
</ul>
|
||||
|
||||
<div className="border-t border-gray-700 mt-2 pt-3 px-2">
|
||||
<LangToggle />
|
||||
</div>
|
||||
<div className="border-t border-gray-700 mt-2 pt-3 px-2">
|
||||
<Button
|
||||
onClick={handleLogout}
|
||||
|
||||
Reference in New Issue
Block a user