From 17af43301a4decccc40d7b899b85ed9759d0d9ea 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 60508095c..7b1c2f7ed 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, });