From e823f832a4691a6f926048f7fcc7aa334814680c Mon Sep 17 00:00:00 2001 From: nfoert Date: Sat, 4 Jan 2025 19:16:35 -0500 Subject: [PATCH] fix: Fixed issue where year selector wasn't showing correct stat with multiple years --- scouting/main/templates/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scouting/main/templates/index.html b/scouting/main/templates/index.html index fef0af3..5e4e848 100644 --- a/scouting/main/templates/index.html +++ b/scouting/main/templates/index.html @@ -290,7 +290,12 @@ }, init() { - this.get_year_data(); + setTimeout(() => { + this.selected_year = this.$refs.year.value; + + this.get_year_data(); + }, 100) + } }; }