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 2298b4b commit bbc66de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ <h2 class="c-title">
const totals = await getTotals();
console.log(totals);
Object.keys(FIELDS).forEach((key) => {
console.log(totals, totals.find);

const value = totals.find((total) => total.includes(FIELDS[key]))[1];
document.getElementById(key).innerHTML = value;
});
Expand Down

0 comments on commit bbc66de

Please sign in to comment.