fix(accounts): show only account-wide quota in the detail panel

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Zyy
2026-11-22 00:45:55 +08:00
co-authored by Codex
parent d1be306f03
commit b85f944c52
@@ -38,9 +38,7 @@ const hasUpstreamPool = computed(() => props.account.upstream?.discovered && (
))
const quotaEntries = computed(() => groupedAccountQuotaWindows(
orderedPanelQuotaWindows(props.account.upstream?.discovered
? props.account.quota.windows.filter(window => window.amount)
: props.account.quota.windows),
orderedPanelQuotaWindows(props.account.quota.windows.filter(window => window.accountWide)),
))
const profileOpen = shallowRef(false)
const forecastOpen = shallowRef(false)