Compare commits

..

No commits in common. "ca3ad434d35781d11018c160e46c98e004d56ca7" and "52c03328b4f3a11dab19f24751c58cd3f09e29ef" have entirely different histories.

View file

@ -31,7 +31,6 @@ const {
lastScan, lastScan,
eventStats, eventStats,
statsLoading, statsLoading,
statsError,
refreshStats, refreshStats,
onDecode, onDecode,
resume, resume,
@ -138,22 +137,6 @@ function fmtTime(iso: string) {
</div> </div>
</div> </div>
<!-- Surface stats fetch failures (e.g. backend missing the /stats
endpoint, or wallet ownership rejected). Without this the
counts strip silently freezes on the last good value while
scans keep landing on the backend. -->
<div
v-if="statsError"
class="mb-4 flex items-start gap-2 rounded-md border border-destructive/40 bg-destructive/10 p-3 text-xs text-destructive"
role="alert"
>
<AlertCircle class="w-4 h-4 mt-0.5 shrink-0" />
<div class="min-w-0">
<p class="font-medium">Counts may be out of date</p>
<p class="text-destructive/80 mt-0.5 break-words">{{ statsError }}</p>
</div>
</div>
<Tabs v-model="activeTab" class="w-full"> <Tabs v-model="activeTab" class="w-full">
<TabsList class="grid w-full grid-cols-2 mb-4"> <TabsList class="grid w-full grid-cols-2 mb-4">
<TabsTrigger value="scanner" class="gap-1.5"> <TabsTrigger value="scanner" class="gap-1.5">