fix: masquer la barre de géolocalisation en mode animation
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
En mode animation, visibleTransactions ne contient que les tx géolocalisées → geoCount/transactionCount = 100% systématiquement, ce qui est trompeur. La couverture Cesium+ est une propriété du pipeline global, pas d'une frame. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -109,8 +109,9 @@ export function StatsPanel({ stats, loading, periodDays, source, currentUD, anim
|
||||
})()}
|
||||
delta={prevTxCount !== null ? (stats.transactionCount > prevTxCount ? 'up' : stats.transactionCount < prevTxCount ? 'down' : null) : null}
|
||||
/>
|
||||
{/* Couverture géo — uniquement en mode live */}
|
||||
{source === 'live' && geoPct !== null && (
|
||||
{/* Couverture géo — uniquement en mode live, masquée en animation
|
||||
(visibleTransactions ne contient que du géolocalisé → toujours 100%) */}
|
||||
{source === 'live' && geoPct !== null && !animationLabel && (
|
||||
<div className="bg-[#0f1016] border border-[#2e2f3a] rounded-xl p-3">
|
||||
<div className="flex justify-between items-center mb-1.5">
|
||||
<p className="text-[#4b5563] text-xs uppercase tracking-widest">Géolocalisées</p>
|
||||
|
||||
Reference in New Issue
Block a user