diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index 6d3bf150b..3850628be 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -9482,7 +9482,7 @@ function balanceFix(p) { } // accountQuota: an account's allowance as a line of small meters under its -// name, the reset time on the ones nearly used up, and any credit balance. +// name, the reset time on the ones nearly used up, credits and held resets. function accountQuota(data, user, cap = 0) { const line = el("div", "aq"); if (!data) { @@ -9494,6 +9494,13 @@ function accountQuota(data, user, cap = 0) { line.classList.add("stale"); line.append(el("span", "aq-asof", asOfText(q))); } + if (q?.resets?.count && !q.error) { + const words = resetsWords(q.resets); + const resets = el("span", "aq-w aq-resets"); + resets.title = [words.textContent, words.title].filter(Boolean).join("\n"); + resets.append(words.querySelector(".resets-n")); + line.append(resets); + } // an account on no plan says so, whatever else can be read of it const noPlan = q?.plan === "No plan" ? [t("No plan")] : []; if (q && !q.error && !q.windows?.length && q.balance) {