fix: align dynamic pricing style with log details dialog sections
This commit is contained in:
@@ -966,13 +966,14 @@ export function DetailsDialog(props: DetailsDialogProps) {
|
||||
|
||||
{/* Tiered pricing breakdown (when billing_mode is tiered_expr) */}
|
||||
{isTieredBilling && other?.expr_b64 && (
|
||||
<div className='bg-muted/30 min-w-0 overflow-hidden rounded-md border px-3 max-sm:px-2'>
|
||||
<DetailSection label={t('Dynamic Pricing')}>
|
||||
<DynamicPricingBreakdown
|
||||
compact
|
||||
billingExpr={decodeBillingExprB64(other.expr_b64)}
|
||||
matchedTierLabel={other.matched_tier}
|
||||
hideCacheColumns={!hasAnyCacheTokens(other)}
|
||||
/>
|
||||
</div>
|
||||
</DetailSection>
|
||||
)}
|
||||
|
||||
{/* Admin billing mode indicator for non-consume */}
|
||||
|
||||
Reference in New Issue
Block a user