Add if statement for when percentage is over 100
This commit is contained in:
parent
4ba3e6cd97
commit
61a3affd11
@ -243,6 +243,8 @@ export default {
|
||||
return '<1%'
|
||||
} else if (percentage > 99 && percentage < 100) {
|
||||
return '>99%'
|
||||
} else if (percentage > 100) {
|
||||
return '>100%'
|
||||
} else {
|
||||
return `${percentage.toFixed(0)}%`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user