consider 95% or higher to be green
This commit is contained in:
parent
325ab38fbb
commit
f77acf9eac
@ -10,7 +10,7 @@ export function parseHealthStatusByPercent(
|
||||
percent: number,
|
||||
count: number
|
||||
): HealthStatus {
|
||||
if (percent === 100) {
|
||||
if (percent > 95) {
|
||||
return 'health';
|
||||
} else if (percent === 0 && count === 0) {
|
||||
return 'none';
|
||||
|
Loading…
Reference in New Issue
Block a user