Skip to content

Commit

Permalink
fix:coderabbitai
Browse files Browse the repository at this point in the history
  • Loading branch information
Innocent-Akim committed Dec 7, 2024
1 parent 50a1e98 commit 281e965
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion apps/web/app/[locale]/timesheet/[memberId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ const TimeSheet = React.memo(function TimeSheetPage({ params }: { params: { memb
classNameIcon="bg-[#3D5A80] shadow-[#3d5a809c] "
/>
{isManage && (<TimesheetCard
count={8}
count={Object.values(statusTimesheet)
.flat()
.map(entry => entry.employee.id)
.filter((id, index, array) => array.indexOf(id) === index)
.length}
title="Members Worked"
description="People worked since last time"
icon={<User2 className="font-bold" />}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/features/task/task-displays.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TaskIssueStatus } from './task-issue';
import { formatDate, secondsToTime } from '@/app/helpers';
import { ClockIcon } from "@radix-ui/react-icons"
import React from 'react';
import { CalendarArrowDown, CalendarClock, UserPlusIcon } from 'lucide-react';
import { CalendarArrowDown, UserPlusIcon } from 'lucide-react';

type Props = {
task: Nullable<ITeamTask>;
Expand Down

0 comments on commit 281e965

Please sign in to comment.