mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: round dora metrics (#4755)
* Small change to round numbers in a table
This commit is contained in:
parent
94b65542e8
commit
387f48617d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user