From be63d7d8d26c94f3ba2bac994f985ba66a08862e Mon Sep 17 00:00:00 2001 From: Fabrice Lamant Date: Sun, 28 Jul 2024 12:57:56 +0200 Subject: [PATCH] add gender --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 581acf5f5..c09b8b947 100644 --- a/src/index.js +++ b/src/index.js @@ -138,6 +138,7 @@ const extractSportCalendar = async (sportKey) => { _COMPETITORS: [], _UNITNAME: unit.eventUnitName, _MEDAL: !!unit.medalFlag, + _GENDER: unit.genderCode, }; if (unit.competitors) { @@ -297,7 +298,7 @@ const generateTodayPage = () => { html.push(`
`); html.push("
__:__
"); html.push("
"); - html.push(`
${sport.name.toUpperCase()} ${event._MEDAL ? "🏅" : ""}
`); + html.push(`
`); html.push(`
${summary}`); if (event._COMPETITORS) { event._COMPETITORS.forEach((competitor) => {