From 03b9a4e93b3a05f5856f4562ce398df41be3afdc Mon Sep 17 00:00:00 2001 From: Joy <138333978+joypan1@users.noreply.github.com> Date: Wed, 27 Mar 2024 13:43:55 -0400 Subject: [PATCH] maybe add team number and recent ranking to matchsummary --- pages/matchsummary.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/matchsummary.js b/pages/matchsummary.js index dfc1407..87b6ca2 100644 --- a/pages/matchsummary.js +++ b/pages/matchsummary.js @@ -27,7 +27,8 @@ const getTeams = async () => {



- +

Team Number: TBD

+

Most Recent Ranking: TBD


Average Autonomous Accuracy: ${Math.round(parseFloat(await sumColumnForGlobalId(team.globalid, 'count2')/await sumColumnForGlobalId(team.globalid, 'count1'))*100)}%

Average Teleop Speaker Accuracy: ${Math.round(parseFloat(await sumColumnForGlobalId(team.globalid, 'count4')/await sumColumnForGlobalId(team.globalid, 'count3'))*100)}%