Skip to content

Commit 914ece6

Browse files
committed
restore slice
1 parent 69eb805 commit 914ece6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/components/RepoRecentCommits.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async function fetchGraphData() {
6767
const start = Object.values(dayDataObj)[0].week;
6868
const end = firstStartDateAfterDate(new Date());
6969
const startDays = startDaysBetween(start, end);
70-
data.value = fillEmptyStartDaysWithZeroes(startDays, dayDataObj);
70+
data.value = fillEmptyStartDaysWithZeroes(startDays, dayDataObj).slice(-52);
7171
errorText.value = '';
7272
} else {
7373
errorText.value = response.statusText;

0 commit comments

Comments
 (0)