mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02: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' }}
|
sx={{ display: 'flex', justifyContent: 'center' }}
|
||||||
data-loading
|
data-loading
|
||||||
>
|
>
|
||||||
{(dora.projectAverage ? dora.projectAverage : 0) -
|
{Math.round(
|
||||||
original.timeToProduction}{' '}
|
(dora.projectAverage
|
||||||
|
? dora.projectAverage
|
||||||
|
: 0) - original.timeToProduction
|
||||||
|
)}{' '}
|
||||||
days
|
days
|
||||||
</Box>
|
</Box>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
Loading…
Reference in New Issue
Block a user