mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 13:22:35 -07:00
fix(ui): hide model quota in /stats and refactor quota display (#24206)
This commit is contained in:
@@ -164,23 +164,9 @@ export const HistoryItemDisplay: React.FC<HistoryItemDisplayProps> = ({
|
||||
{itemForDisplay.type === 'stats' && (
|
||||
<StatsDisplay
|
||||
duration={itemForDisplay.duration}
|
||||
quotas={itemForDisplay.quotas}
|
||||
selectedAuthType={itemForDisplay.selectedAuthType}
|
||||
userEmail={itemForDisplay.userEmail}
|
||||
tier={itemForDisplay.tier}
|
||||
currentModel={itemForDisplay.currentModel}
|
||||
quotaStats={
|
||||
itemForDisplay.pooledRemaining !== undefined ||
|
||||
itemForDisplay.pooledLimit !== undefined ||
|
||||
itemForDisplay.pooledResetTime !== undefined
|
||||
? {
|
||||
remaining: itemForDisplay.pooledRemaining,
|
||||
limit: itemForDisplay.pooledLimit,
|
||||
resetTime: itemForDisplay.pooledResetTime,
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
creditBalance={itemForDisplay.creditBalance}
|
||||
/>
|
||||
)}
|
||||
{itemForDisplay.type === 'model_stats' && (
|
||||
|
||||
Reference in New Issue
Block a user