Skip to content

Commit

Permalink
fix: remove the unit from the *_count field (elastic#198641)
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and CAWilson94 committed Nov 11, 2024
1 parent 54e0a9f commit 1ef937e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const HighlightDetailsTable = ({ breakdown }: Props) => {
name: 'Time',
render: (item: BreakdownItem) => (
<EuiBadge style={{ backgroundColor: item.color }}>
<span>{nsToPretty(item.time, 1)}</span>
<span>{item.key.endsWith('_count') ? item.time : nsToPretty(item.time, 1)}</span>
</EuiBadge>
),
},
Expand Down

0 comments on commit 1ef937e

Please sign in to comment.