Skip to content

Commit a8ed88b

Browse files
fix(site): fix chart label depending on interval (#10059)
Close #10056
1 parent 1076d16 commit a8ed88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/ActiveUserChart/ActiveUserChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const ActiveUserChart: FC<ActiveUserChartProps> = ({
9898
labels: labels,
9999
datasets: [
100100
{
101-
label: "Daily Active Users",
101+
label: `${interval === "day" ? "Daily" : "Weekly"} Active Users`,
102102
data: chartData,
103103
pointBackgroundColor: theme.palette.info.light,
104104
pointBorderColor: theme.palette.info.light,

0 commit comments

Comments
 (0)