From 5993456620a3309e7b9b132c4b087f97eb0ffcb9 Mon Sep 17 00:00:00 2001 From: jgor20 <102353650+jgor20@users.noreply.github.com> Date: Sun, 11 Jan 2026 15:01:10 +0000 Subject: [PATCH] refactor(ui): simplify quota info handling in data store Remove conditional check for empty quotaInfo and always include the row, treating missing quota info as 0% or unknown for chart display consistency. --- public/js/data-store.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/public/js/data-store.js b/public/js/data-store.js index 746e2da..5c1ed21 100644 --- a/public/js/data-store.js +++ b/public/js/data-store.js @@ -375,11 +375,7 @@ document.addEventListener('alpine:init', () => { quotaInfo.push({ pct }); }); - if (quotaInfo.length === 0) { - // Include model even if no quota info is available (treat as 0% or unknown) - // This ensures the family appears in the charts - } - + // treat missing quotaInfo as 0%/unknown; still include row rows.push({ modelId, family, quotaInfo }); });