Skip to content

Commit

Permalink
4146 - Bulk download: fix duplicate year 2017 (#4147)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorja authored Nov 26, 2024
1 parent 7f2e326 commit 42f10cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/assessment/years.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const intervals = (cycle: Cycle): Array<string> => {
const annual = (cycle: Cycle): Array<string> => {
const years = Array.from({ length: 18 }, (_, i) => String(2000 + i))
if (cycle.name === '2025') {
years.push(...Array.from({ length: 7 }, (_, i) => String(2017 + i)))
years.push(...Array.from({ length: 6 }, (_, i) => String(2018 + i)))
}
return years
}
Expand Down

0 comments on commit 42f10cd

Please sign in to comment.