getTrainTypeの仕様更新

This commit is contained in:
harukin-expo-dev-env
2025-09-11 16:11:36 +00:00
parent ad2d18e263
commit 71ee79289a

View File

@@ -163,6 +163,7 @@ export const getTrainType: getTrainType = ({ type, id, whiteMode }) => {
};
case "Other":
default:
if(id){
switch (true) {
case !!id.includes("T"):
return {
@@ -196,6 +197,8 @@ export const getTrainType: getTrainType = ({ type, id, whiteMode }) => {
data: "notService",
};
}
}
return {
color: whiteMode ? "black" : "white",
name: "その他",