From 0687ba184d1baec0a38fa9bf58a8f015febb6262 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 17 Apr 2025 00:06:10 -0700 Subject: fix: utils frontend str mapping func --- site/src/utils.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'site/src') diff --git a/site/src/utils.ts b/site/src/utils.ts index 4984c58..f148215 100644 --- a/site/src/utils.ts +++ b/site/src/utils.ts @@ -10,7 +10,11 @@ export const getGameTitle = (gameId: string) => { if (lowerCaseGameId.startsWith("maimaidx_intl")) return "maimai DX (INTERNATIONAL)"; if (lowerCaseGameId.startsWith("ongeki_jp")) return "O.N.G.E.K.I" if (lowerCaseGameId.startsWith("chunithm_intl")) return "CHUNITHM (INTERNATIONAL)" +<<<<<<< Updated upstream if (lowerCaseGameId.startsWIth("ddr")) return "DanceDanceRevolution" +======= + if (lowerCaseGameId.startsWith("ddr")) return "DanceDanceRevolution" +>>>>>>> Stashed changes return gameId.toUpperCase(); }; -- cgit v1.2.3