getTrainTypeの仕様更新
This commit is contained in:
@@ -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: "その他",
|
||||
|
Reference in New Issue
Block a user