列車表示が一部壊れていたので修正
This commit is contained in:
parent
7e59b8c7bd
commit
548d5d3747
@ -114,7 +114,7 @@ export const EachTrainInfoCore = ({
|
|||||||
const type = getType(limitedArray[0]);
|
const type = getType(limitedArray[0]);
|
||||||
|
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case limitedArray[1]:
|
case !!limitedArray[1]:
|
||||||
// 特急の場合は、列車名を取得
|
// 特急の場合は、列車名を取得
|
||||||
return type + migrateTrainName(limitedArray[1]);
|
return type + migrateTrainName(limitedArray[1]);
|
||||||
case trainData.length == 0:
|
case trainData.length == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user