updates
This commit is contained in:
@@ -9,7 +9,8 @@ import {
|
||||
Menu,
|
||||
X,
|
||||
CreditCard,
|
||||
Receipt
|
||||
Receipt,
|
||||
User
|
||||
} from 'lucide-react';
|
||||
import useAuthStore from '../../store/useAuthStore';
|
||||
import { useResponsive } from '../../hooks';
|
||||
@@ -95,6 +96,11 @@ const SidebarAccountant: React.FC<SidebarAccountantProps> = ({
|
||||
icon: BarChart3,
|
||||
label: 'Financial Reports'
|
||||
},
|
||||
{
|
||||
path: '/accountant/profile',
|
||||
icon: User,
|
||||
label: 'My Profile'
|
||||
},
|
||||
];
|
||||
|
||||
const isActive = (path: string) => {
|
||||
|
||||
@@ -303,6 +303,11 @@ const SidebarAdmin: React.FC<SidebarAdminProps> = ({
|
||||
icon: HardDrive,
|
||||
label: 'Backups'
|
||||
},
|
||||
{
|
||||
path: '/admin/profile',
|
||||
icon: User,
|
||||
label: 'My Profile'
|
||||
},
|
||||
]
|
||||
},
|
||||
];
|
||||
|
||||
@@ -127,6 +127,11 @@ const SidebarStaff: React.FC<SidebarStaffProps> = ({
|
||||
icon: BarChart3,
|
||||
label: 'Reports'
|
||||
},
|
||||
{
|
||||
path: '/staff/profile',
|
||||
icon: Users,
|
||||
label: 'My Profile'
|
||||
},
|
||||
];
|
||||
|
||||
const isActive = (path: string) => {
|
||||
|
||||
Reference in New Issue
Block a user