Skip to content

Commit

Permalink
Automatically select latest year on History page
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthNerdus authored and bayang committed Apr 25, 2024
1 parent b37597a commit 3e6940f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jelu-ui/src/components/History.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const getYears = () => {
dataService.yearsWithStats()
.then(res => {
years.value = res
currentYear.value = res[res.length - 1]
})
.catch(e => {
console.log(e)
Expand Down

0 comments on commit 3e6940f

Please sign in to comment.