change: percent > 95 to percent >= 95

This commit is contained in:
Tommy Johnston 2024-10-31 18:11:02 -04:00 committed by moonrailgun
parent cb476f7361
commit 5207338ac1

View File

@ -10,7 +10,7 @@ export function parseHealthStatusByPercent(
percent: number, percent: number,
count: number count: number
): HealthStatus { ): HealthStatus {
if (percent > 95) { if (percent >= 95) {
return 'health'; return 'health';
} else if (percent === 0 && count === 0) { } else if (percent === 0 && count === 0) {
return 'none'; return 'none';