fix(site): fix chart label depending on interval (#10059)

Close https://github.com/coder/coder/issues/10056
This commit is contained in:
Bruno Quaresma authored and GitHub committed 2023-10-04 17:05:29 -03:00
1 parent 1076d16456
commit a8ed88b22e
1 file changed
+1 -1
@@ -98,7 +98,7 @@ export const ActiveUserChart: FC<ActiveUserChartProps> = ({
labels: labels,
datasets: [
{
label: "Daily Active Users",
label: `${interval === "day" ? "Daily" : "Weekly"} Active Users`,
data: chartData,
pointBackgroundColor: theme.palette.info.light,
pointBorderColor: theme.palette.info.light,