feat: position field + menu role permissions management
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
Settings,
|
||||
CheckSquare,
|
||||
Briefcase,
|
||||
Shield,
|
||||
} from 'lucide-react';
|
||||
import { useAuthStore } from '@/stores';
|
||||
|
||||
@@ -238,6 +239,7 @@ const Sidebar = ({ isCollapsed }: { isCollapsed?: boolean }) => {
|
||||
{ name: 'System', href: '/settings/system', icon: Monitor },
|
||||
{ name: 'Notification', href: '/settings/notification', icon: FileText },
|
||||
{ name: 'Audit Log', href: '/settings/audit', icon: History },
|
||||
{ name: 'Menu Perms', href: '/settings/menus', icon: Shield },
|
||||
].map((sub) => {
|
||||
const SubIcon = sub.icon;
|
||||
const isActive = pathname === sub.href;
|
||||
|
||||
Reference in New Issue
Block a user