mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 16:17:02 +00:00
fix(ui): preserve Gemini tier fallback without entitlement
This commit is contained in:
1 parent
23c819cabc
commit
1f7ed656b2
2 files changed
+16
-1
No files matched your search
@@ -378,7 +378,8 @@ export function QuotaTooltipContent({ quota, resetTime }: QuotaTooltipContentPro
|
||||
if (isGeminiQuotaResult(quota)) {
|
||||
const hasBucketResetTime = quota.buckets.some((bucket) => !!bucket.resetTime);
|
||||
const hasEntitlementTier =
|
||||
!!quota.entitlement?.rawTierLabel || quota.entitlement?.normalizedTier !== 'unknown';
|
||||
!!quota.entitlement?.rawTierLabel ||
|
||||
(!!quota.entitlement && quota.entitlement.normalizedTier !== 'unknown');
|
||||
const distinctTokenTypes = Array.from(
|
||||
new Set(
|
||||
quota.buckets
|
||||
|
||||
Reference in new issue
Block a user