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"} data-placement={dayIndex() > props.data.length * 0.62 ? "left" : "right"}
> >
<strong>{point().date}</strong> <strong>{point().date}</strong>
<Show when={metric() === "tokens"}>
<span> <span>
{formatUsageChartValue(usageTotal(point()), metric())} {usageChartTotalLabel(metric())} {formatUsageChartValue(usageTotal(point()), metric())} {usageChartTotalLabel(metric())}
</span> </span>
</Show>
<Show when={metric() === "tokens"}>
<div data-slot="tooltip-divider" /> <div data-slot="tooltip-divider" />
</Show>
<For each={visibleTopModelsSegments(point())}> <For each={visibleTopModelsSegments(point())}>
{(item) => ( {(item) => (
<p <p