Skip to content

Commit

Permalink
maybe add team number and recent ranking to matchsummary
Browse files Browse the repository at this point in the history
  • Loading branch information
joypan1 committed Mar 27, 2024
1 parent 856e284 commit 03b9a4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/matchsummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const getTeams = async () => {
<br><br><br><br>
<!-- <p> Team Number: ${db.teams.teamnumber}</p><br> -->
<p> Team Number: TBD </p>
<p> Most Recent Ranking: TBD </p><br>
<p> Average Autonomous Accuracy: ${Math.round(parseFloat(await sumColumnForGlobalId(team.globalid, 'count2')/await sumColumnForGlobalId(team.globalid, 'count1'))*100)}% </p>
<p> Average Teleop Speaker Accuracy: ${Math.round(parseFloat(await sumColumnForGlobalId(team.globalid, 'count4')/await sumColumnForGlobalId(team.globalid, 'count3'))*100)}%</p>
Expand Down

0 comments on commit 03b9a4e

Please sign in to comment.