Skip to content

Commit

Permalink
role fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aar-if committed Aug 2, 2024
1 parent 9aa5a3e commit be26cf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import calendar from '../assets/images/calendar.svg';
import Header from '../components/Header';
import Loader from '../components/Loader';
import useDeterminePathColor from '../hooks/useDeterminePathColor';
import { Role } from '@/utils/app.constant';

interface DashboardProps {}

Expand Down Expand Up @@ -873,7 +874,7 @@ const Dashboard: React.FC<DashboardProps> = () => {
</Box>
</Box>
</Box>
{role === 'Team Leader' && (
{role === Role.TEAM_LEADER && (
<Box p={2}>
<AttendanceComparison />
</Box>
Expand Down

0 comments on commit be26cf8

Please sign in to comment.