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

This commit is contained in:
tkl 2024-02-20 08:26:12 +00:00
parent 7e36c36ec0
commit ca7ff8e154

View File

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