Skip to content

Commit

Permalink
fix:ticket total hours
Browse files Browse the repository at this point in the history
  • Loading branch information
Innocent-Akim committed Dec 21, 2024
1 parent 540b98a commit f0e4cb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/lib/features/task/task-displays.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const DisplayTimeForTimesheet = ({ timesheetLog, logType }: { timesheetLo
timesheetLog.stoppedAt instanceof Date ? timesheetLog.stoppedAt : new Date(timesheetLog.stoppedAt)
);

const { h: hours, m: minute, s: second } = secondsToTime(seconds);
const { h: hours, m: minute } = secondsToTime(seconds);

const iconClasses = 'text-[14px] h-4 w-4';
const icons = {
Expand All @@ -102,7 +102,7 @@ export const DisplayTimeForTimesheet = ({ timesheetLog, logType }: { timesheetLo
<div className="flex items-start justify-start font-medium gap-x-1">
{icons[resolvedLogType]}
<div className="flex items-start justify-start text-[#282048] dark:text-[#9b8ae1]">
{formatTime(hours, minute, second)}
{formatTime(hours, minute)}
</div>
</div>
);
Expand Down

0 comments on commit f0e4cb6

Please sign in to comment.