Skip to content

Commit dae9357

Browse files
author
Irae Hueck Costa
committed
Show years after 32 months
1 parent b5dfdd9 commit dae9357

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/js/dashboard.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ function dGroupDates(dates) {
315315
// if it's still to big, use months. 16 is a magic number to swap to the per month view
316316
if (Object.keys(groupedDates).length > 16) {
317317
groupedDates = groupedByMonth;
318-
// Use years if we are displaying more than 16 month.
319-
if (Object.keys(groupedDates).length > 16) {
318+
// Use years if we are displaying more than 32 month.
319+
if (Object.keys(groupedDates).length > 32) {
320320
groupedDates = groupedByYear
321321
}
322322
}

0 commit comments

Comments
 (0)