myheats

Live heats, scoring and leaderboard for sport events
git clone https://git.in0rdr.ch/myheats.git
Log | Files | Refs | Pull requests | README | LICENSE

commit e8f224a3169d1bb0de05c10c80012f045b4b8e71
parent c7bebb01c2fd03c59e713b56b3a847a3af527448
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun,  2 Apr 2023 18:28:36 +0200

chore: rename heatOptions

Diffstat:
Msrc/Leaderboard.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Leaderboard.js b/src/Leaderboard.js @@ -192,7 +192,7 @@ function Leaderboard() { ] // add dynamic options to rank by best/worst heat - const myHeatOpts = heatOpts.map(h => { + const heatOptions = heatOpts.map(h => { return { value: h.value, label: "Sum " + h.label @@ -206,7 +206,7 @@ function Leaderboard() { }, { label: "Heat Sum", - options: myHeatOpts + options: heatOptions } ];