fix(stats): hide unique users tooltip total

This commit is contained in:
Adam 2026-06-22 11:39:52 -05:00
parent 494123a875
commit 39d7394ede
No known key found for this signature in database
GPG Key ID: 9CB48779AF150E75

View File

@ -744,10 +744,14 @@ function TopModelsChart(props: {
data-placement={dayIndex() > props.data.length * 0.62 ? "left" : "right"}
>
<strong>{point().date}</strong>
<span>
{formatUsageChartValue(usageTotal(point()), metric())} {usageChartTotalLabel(metric())}
</span>
<div data-slot="tooltip-divider" />
<Show when={metric() === "tokens"}>
<span>
{formatUsageChartValue(usageTotal(point()), metric())} {usageChartTotalLabel(metric())}
</span>
</Show>
<Show when={metric() === "tokens"}>
<div data-slot="tooltip-divider" />
</Show>
<For each={visibleTopModelsSegments(point())}>
{(item) => (
<p