feat: implement team lead dashboard with data fetching and chart display

This commit is contained in:
2025-11-14 11:05:36 +01:00
parent 9b1f42c4ec
commit 38b9401b04
4 changed files with 241 additions and 0 deletions

View File

@@ -42,6 +42,11 @@ const Navigation = () => {
{ href: "/contracts", label: t('navigation.contracts') },
];
// Add team lead dashboard
// if (session?.user?.role === 'team_lead') {
// navItems.push({ href: "/dashboard", label: 'Dashboard' });
// }
// Add admin-only items
if (session?.user?.role === 'admin') {
navItems.push({ href: "/admin/users", label: t('navigation.userManagement') });