fix(stats): hide unique users tooltip total
This commit is contained in:
parent
494123a875
commit
39d7394ede
@ -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>
|
||||||
<span>
|
<Show when={metric() === "tokens"}>
|
||||||
{formatUsageChartValue(usageTotal(point()), metric())} {usageChartTotalLabel(metric())}
|
<span>
|
||||||
</span>
|
{formatUsageChartValue(usageTotal(point()), metric())} {usageChartTotalLabel(metric())}
|
||||||
<div data-slot="tooltip-divider" />
|
</span>
|
||||||
|
</Show>
|
||||||
|
<Show when={metric() === "tokens"}>
|
||||||
|
<div data-slot="tooltip-divider" />
|
||||||
|
</Show>
|
||||||
<For each={visibleTopModelsSegments(point())}>
|
<For each={visibleTopModelsSegments(point())}>
|
||||||
{(item) => (
|
{(item) => (
|
||||||
<p
|
<p
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user