From 3e6940f8649589403ca64f90a505355430fba66b Mon Sep 17 00:00:00 2001 From: Jesse Read Date: Sun, 21 Apr 2024 21:01:51 -0400 Subject: [PATCH] Automatically select latest year on History page --- src/jelu-ui/src/components/History.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jelu-ui/src/components/History.vue b/src/jelu-ui/src/components/History.vue index 1eedeff2..adba7952 100644 --- a/src/jelu-ui/src/components/History.vue +++ b/src/jelu-ui/src/components/History.vue @@ -28,6 +28,7 @@ const getYears = () => { dataService.yearsWithStats() .then(res => { years.value = res + currentYear.value = res[res.length - 1] }) .catch(e => { console.log(e)