From d2fd719cab73f49cc833fdfbb35c63af6994f307 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 25 Apr 2023 18:34:04 -0700 Subject: [PATCH] use chartLimit --- packages/client/src/components/MkHeatmap.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/MkHeatmap.vue b/packages/client/src/components/MkHeatmap.vue index 60508095c6..7b1c2f7ed3 100644 --- a/packages/client/src/components/MkHeatmap.vue +++ b/packages/client/src/components/MkHeatmap.vue @@ -113,7 +113,7 @@ async function renderChart() { values = raw.deliverFailed; } else if (props.src === "my-notes") { const raw = await os.api("charts/user/notes", { - limit: 7 * 21, + limit: chartLimit, span: "day", userId: $i.id, });