File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
apps/sim/app/workspace/[workspaceId]/logs/components/log-details Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import {
1818import { ScrollArea } from '@/components/ui/scroll-area'
1919import { BASE_EXECUTION_CHARGE } from '@/lib/billing/constants'
2020import { cn } from '@/lib/core/utils/cn'
21+ import { formatDuration } from '@/lib/core/utils/formatting'
2122import { filterHiddenOutputKeys } from '@/lib/logs/execution/trace-spans/trace-spans'
2223import {
2324 ExecutionSnapshot ,
@@ -453,7 +454,7 @@ export const LogDetails = memo(function LogDetails({
453454 Duration
454455 </ span >
455456 < span className = 'font-medium text-[13px] text-[var(--text-secondary)]' >
456- { log . duration || '—' }
457+ { formatDuration ( log . duration , { precision : 2 } ) || '—' }
457458 </ span >
458459 </ div >
459460
You can’t perform that action at this time.
0 commit comments