From 3a4957171808b27f5f03ace0c651e1cb15311636 Mon Sep 17 00:00:00 2001 From: harukin-expo-dev-env Date: Sat, 14 Sep 2024 08:52:16 +0000 Subject: [PATCH] =?UTF-8?q?=E2=96=BC=E3=82=A2=E3=83=B3=E3=83=91=E3=83=B3?= =?UTF-8?q?=E3=81=AE=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EachTrainInfoCore/trainIconStatus.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/ActionSheetComponents/EachTrainInfoCore/trainIconStatus.tsx b/components/ActionSheetComponents/EachTrainInfoCore/trainIconStatus.tsx index 141a10b..b12b205 100644 --- a/components/ActionSheetComponents/EachTrainInfoCore/trainIconStatus.tsx +++ b/components/ActionSheetComponents/EachTrainInfoCore/trainIconStatus.tsx @@ -45,9 +45,10 @@ export const TrainIconStatus: FC = ({ data, navigate, from }) => { ) .then((d) => d.json()) .then((d) => { + console.log(d); if (d.trainStatus == "〇") { //setAnpanmanStatus({name:"checkmark-circle-outline",color:"blue"}); - } else if (d.trainStatus == "△") { + } else if (d.trainStatus == "▲") { setAnpanmanStatus({ name: "warning-outline", color: "yellow" }); } else if (d.trainStatus == "×") { setAnpanmanStatus({ name: "close-circle-outline", color: "red" }); @@ -71,7 +72,7 @@ export const TrainIconStatus: FC = ({ data, navigate, from }) => { { navigate("howto", { - info: "https://www.jr-eki.com/aptrain/index.html", + info: "https://www.jr-eki.com/aptrain/naani/dosan/jikoku.html", goTo: from == "LED" ? "menu" : from, }); SheetManager.hide("EachTrainInfo");