From 873ee0361ffc3fb4b172d11c3a77ad3bb0f98a9e Mon Sep 17 00:00:00 2001 From: nadiavanleur Date: Mon, 25 Mar 2024 13:24:30 +0100 Subject: [PATCH] minor changes --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 61e3df4..09c89ac 100644 --- a/index.html +++ b/index.html @@ -241,7 +241,7 @@

const totals = await getTotals(); console.log(totals); Object.keys(FIELDS).forEach((key) => { - console.log(totals, totals.find); + console.log(totals, totals.find, totals.find(total => { console.log(total); return false }), totals.find(total => total.includes(FIELDS[key]))); const value = totals.find(total => total.includes(FIELDS[key]))[1]; document.getElementById(key).innerHTML = value;