rename sidebar (Админка)(Админестрирование)
This commit is contained in:
@@ -18,7 +18,7 @@ const baseItems = [
|
||||
export function Sidebar({ active }: { active: string }) {
|
||||
const { logout, user } = useAuth();
|
||||
const items = user?.canAccessAdmin
|
||||
? [...baseItems, { href: getAdminLandingPath(user), label: 'Админка', icon: ShieldCheck }]
|
||||
? [...baseItems, { href: getAdminLandingPath(user), label: 'Админестрирование', icon: ShieldCheck }]
|
||||
: baseItems;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user