Merge "Round width of change progress bar to 2 decimals"

This commit is contained in:
Zuul 2020-07-15 18:07:22 +00:00 committed by Gerrit Code Review
commit e975bee4fc
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class ChangePanel extends React.Component {
}
renderProgressBar (change) {
let jobPercent = Math.floor(100 / change.jobs.length)
let jobPercent = (100 / change.jobs.length).toFixed(2)
return (
<div className='progress zuul-change-total-result'>
{change.jobs.map((job, idx) => {