diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-17 00:06:10 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-17 00:06:10 -0700 |
| commit | 0687ba184d1baec0a38fa9bf58a8f015febb6262 (patch) | |
| tree | db5284d6b37ac4335ecd0370a8009458d42cc4dd /site/src/utils.ts | |
| parent | a5b15484423f9c9c9518a7be49845f018a8ff46f (diff) | |
fix: utils frontend str mapping func
Diffstat (limited to 'site/src/utils.ts')
| -rw-r--r-- | site/src/utils.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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(); }; |
