Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiavanleur committed Mar 25, 2024
1 parent 07e1ec9 commit 873ee03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ <h2 class="c-title">
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;
Expand Down

0 comments on commit 873ee03

Please sign in to comment.