Update webui/src/routes/bicycle/+page.svelte

This commit is contained in:
tkl 2024-02-20 08:26:56 +00:00
parent ca7ff8e154
commit 0a2b75f4b5

View File

@ -15,6 +15,7 @@
fetch(backend_url) fetch(backend_url)
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {
console.log(year)
console.log(data) console.log(data)
console.log(data.Years[year]) console.log(data.Years[year])
total_distance_value = data.Years[year].total_distance.value total_distance_value = data.Years[year].total_distance.value