From 8aff138b9aa3b9909b7f005573f4a4936f8ae053 Mon Sep 17 00:00:00 2001 From: Suzune2741 Date: Fri, 18 Oct 2024 13:49:26 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20robots=E3=81=8B=E3=82=89=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/kcmsf/src/pages/teams.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/kcmsf/src/pages/teams.tsx b/packages/kcmsf/src/pages/teams.tsx index f4cba91c..1fe2cc2f 100644 --- a/packages/kcmsf/src/pages/teams.tsx +++ b/packages/kcmsf/src/pages/teams.tsx @@ -80,10 +80,10 @@ export const Teams = () => { label: clubName, })) .concat([{ value: "", label: "(所属なし)" }]); - const robotType = config.robotTypes.map((type) => ({ - value: type, - label: type === "leg" ? "歩行型" : "車輪型", - })); + const robotType = config.robots.map(({type, name}) => ({ + value: type, + label: name, + })); const departmentType = config.departments.map(({ type, name }) => ({ value: type, label: name,