From 7a883600ab7310e2f900325d6dc5e9d4d268901c Mon Sep 17 00:00:00 2001 From: Junia Mannervik <72745451+JMannervik@users.noreply.github.com> Date: Thu, 11 Dec 2025 21:48:02 +0100 Subject: [PATCH] Update ts/routes/graphs/reviews.ts Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com> --- ts/routes/graphs/reviews.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/routes/graphs/reviews.ts b/ts/routes/graphs/reviews.ts index ae33cc780..c4e2640a4 100644 --- a/ts/routes/graphs/reviews.ts +++ b/ts/routes/graphs/reviews.ts @@ -128,7 +128,7 @@ export function renderReviews( } } // For Year, shift thresholds forward by one day to make first bin 0-4 instead of 0-5 - if (range === GraphRange.Year) { + if (range === GraphRange.Year || range === GraphRange.AllTime) { thresholds = [...new Set(thresholds.map(t => Math.min(t + 1, 1)))].sort((a, b) => a - b); }