fix(pool): show Antigravity quota reset times

This commit is contained in:
ZheFox
2026-09-01 11:29:48 +08:00
parent ee55f46962
commit 57abb20778
6 changed files with 44 additions and 15 deletions
@@ -158,5 +158,6 @@ export function summarizeAntigravityQuotaItems<T extends AntigravityQuotaSortabl
function formatAntigravityQuotaValue(value: number): string {
const rounded = Math.round(value)
return Math.abs(value - rounded) < 1e-6 ? String(rounded) : value.toFixed(1)
const formatted = Math.abs(value - rounded) < 1e-6 ? String(rounded) : value.toFixed(1)
return `${formatted}%`
}