Update webui/src/routes/bicycle/+page.svelte
This commit is contained in:
parent
ca7ff8e154
commit
0a2b75f4b5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user