Skip to content

Commit

Permalink
fix: round dora metrics (#4755)
Browse files Browse the repository at this point in the history
* Small change to round numbers in a table
  • Loading branch information
FredrikOseberg committed Sep 15, 2023
1 parent 94b6554 commit 387f486
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -117,8 +117,11 @@ export const ProjectDoraMetrics = () => {
sx={{ display: 'flex', justifyContent: 'center' }}
data-loading
>
{(dora.projectAverage ? dora.projectAverage : 0) -
original.timeToProduction}{' '}
{Math.round(
(dora.projectAverage
? dora.projectAverage
: 0) - original.timeToProduction
)}{' '}
days
</Box>
</Tooltip>
Expand Down

0 comments on commit 387f486

Please sign in to comment.