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