mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): fix chart label depending on interval (#10059)
Close https://github.com/coder/coder/issues/10056
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user