From 548d5d3747e6491ae421a716e85f7d60be4e41e4 Mon Sep 17 00:00:00 2001 From: harukin-expo-dev-env Date: Wed, 27 Mar 2024 08:34:06 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=BB=8A=E8=A1=A8=E7=A4=BA=E3=81=8C?= =?UTF-8?q?=E4=B8=80=E9=83=A8=E5=A3=8A=E3=82=8C=E3=81=A6=E3=81=84=E3=81=9F?= =?UTF-8?q?=E3=81=AE=E3=81=A7=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ActionSheetComponents/EachTrainInfoCore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ActionSheetComponents/EachTrainInfoCore.js b/components/ActionSheetComponents/EachTrainInfoCore.js index 4275a4a..0b99ec1 100644 --- a/components/ActionSheetComponents/EachTrainInfoCore.js +++ b/components/ActionSheetComponents/EachTrainInfoCore.js @@ -114,7 +114,7 @@ export const EachTrainInfoCore = ({ const type = getType(limitedArray[0]); switch (true) { - case limitedArray[1]: + case !!limitedArray[1]: // 特急の場合は、列車名を取得 return type + migrateTrainName(limitedArray[1]); case trainData.length == 0: