From 6d4887a8e92c805c2a7e8a1836783ae80e2c72ef Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Tue, 24 Jan 2023 03:48:03 +0000 Subject: [PATCH] fix: alwaysshort iidx --- client/src/components/tables/cells/DifficultyCell.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/src/components/tables/cells/DifficultyCell.tsx b/client/src/components/tables/cells/DifficultyCell.tsx index 5aa13af5b..afa1cfd41 100644 --- a/client/src/components/tables/cells/DifficultyCell.tsx +++ b/client/src/components/tables/cells/DifficultyCell.tsx @@ -53,6 +53,13 @@ export default function DifficultyCell({ const gptImpl = GPT_CLIENT_IMPLEMENTATIONS[GetGPTString(game, chart.playtype)]; + if (game === "iidx") { + // IIDX stuff should always be in the form SPA/SPL to save space. + // All players know what this means. + // eslint-disable-next-line no-param-reassign + alwaysShort = true; + } + return (