Skip to content

Commit 72fc082

Browse files
committed
fix: restore tooltip in TimeSeriesChart (stale isSku reference)
1 parent 8630c73 commit 72fc082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/charts/TimeSeriesChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export function TimeSeriesChart({ metricOptions }: { metricOptions?: MetricOptio
154154
const formatted = activeMetric.isCurrency
155155
? `$${val.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`
156156
: formatCompact(val);
157-
return isSku
157+
return hasIcons
158158
? `${getGroupIconSvg(group.key, groupByColumn, String(this.color))} ${displayName}: <b>${formatted}</b><br/>`
159159
: `<span style="color:${this.color}">●</span> ${displayName}: <b>${formatted}</b><br/>`;
160160
},

0 commit comments

Comments
 (0)