Skip to content

Commit

Permalink
fix: pass correct year for yearly periods
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzemp committed Oct 16, 2024
1 parent 9135688 commit a8348f9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ export const PeriodSelectorBarItem = () => {
periodType: dataSetPeriodType,
openFuturePeriods,
dateLimit,
year,
year: yearlyFixedPeriodTypes.includes(dataSetPeriodType)
? currentFullYear
: year,
})

useEffect(() => {
Expand Down

0 comments on commit a8348f9

Please sign in to comment.